sign in
|
add example
|
see also:
route
,
ifconfig
,
ipchains
,
iptables
,
proc
,
route
,
ifconfig
,
ipchains
,
iptables
,
proc
netstat
Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships
[
package
|
man 8
|
usage
|
wiki
|
homepage
]
examples
configs
questions
links
[
new example
]
copy
32
4
netstat -a
To display all sockets
netstat
details
|
copy
26
4
netstat -an |grep :80 |wc -l
To display the number of active connections on port 80
netstat
details
|
copy
19
3
netstat -natp
Active Internet connections (servers and established)
netstat
details
|
copy
15
0
netstat -s -p tcp
The following displays statistics for the TCP protocol
netstat
details
|
copy
12
3
netstat -l
To display listening server sockets
netstat
details
|
copy
11
3
netstat -e
To display extended information
netstat
details
|
copy
10
3
netstat -s -p udp
The following displays statistics for the UDP protocol
netstat
details
|
copy
10
3
netstat -r
To display the routing table.
netstat
details
|
copy
8
1
netstat -rn
Display routing table without resolving names
netstat
details
|
copy
9
1
netstat -o 4
Displays active TCP connections and the process IDs every 4 seconds
netstat
details
|
copy
10
1
netstat -s
To display networking statistics
netstat
details
|
copy
4
0
netstat -i
netstat
source
|
details
|
copy
3
0
netstat -r
netstat
source
|
details
|
[
new config
]
[
ask question
]
Net-Tool
Ports & Services Database
Microsoft TechNet Netstat article
The netstat Command (Linux)
Security Now #49 - The NETSTAT Command Security Now!
From linux-ip.net