ubuntu1004@ubuntu1004:~$ netstat --tcp --numeric
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 192.168.1.136:53499 74.125.232.196:80 ESTABLISHED
tcp 0 0 192.168.1.136:46617 199.7.48.190:80 TIME_WAIT
tcp 0 0 192.168.1.136:45177 74.125.79.138:80 ESTABLISHED
ubuntu1004@ubuntu1004:~$ netstat --tcp --listening
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 localhost:ipp *:* LISTEN
tcp6 0 0 [::]:ssh [::]:* LISTEN
tcp6 0 0 localhost:ipp [::]:* LISTEN
ubuntu1004@ubuntu1004:~$ netstat --tcp --programs
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
ubuntu1004@ubuntu1004:~$ netstat --route
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 eth0
default DD-WRT 0.0.0.0 UG 0 0 0 eth0
ubuntu1004@ubuntu1004:~$ netstat --statistics
Ip:
1819 total packets received
0 forwarded
0 incoming packets discarded
1817 incoming packets delivered
1308 requests sent out
Icmp:
0 ICMP messages received
0 input ICMP message failed.
ICMP input histogram:
0 ICMP messages sent
0 ICMP messages failed
ICMP output histogram:
Tcp:
38 active connections openings
0 passive connection openings
6 failed connection attempts
0 connection resets received
0 connections established
1513 segments received
1216 segments send out
2 segments retransmited
0 bad segments received.
41 resets sent
Udp:
94 packets received
0 packets to unknown port received.
0 packet receive errors
94 packets sent
UdpLite:
TcpExt:
7 TCP sockets finished time wait in fast timer
17 delayed acks sent
1013 packet headers predicted
127 acknowledgments not containing data payload received
3 predicted acknowledgments
2 congestion windows recovered without slow start after partial ack
2 other TCP timeouts
11 connections reset due to unexpected data
IpExt:
InMcastPkts: 15
OutMcastPkts: 17
InBcastPkts: 216
InOctets: 1911507
OutOctets: 132874
InMcastOctets: 2879
OutMcastOctets: 2959
InBcastOctets: 43434
ubuntu1004@ubuntu1004:~$ netstat --tcp
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
No comments:
Post a Comment