Thursday, October 27, 2005

Network connections, routing tables, interface statistics - netstat

If you manage a dedicated linux server, you can use netstat to print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships. Use netstat -a to get a report on all connections



netstat -a


returns the following information on etwork connections, routing tables, interface statistics, masquerade connections, and multicast memberships


Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 dedicatedserver:ssh h151.ip...:1757 ESTABLISHED
tcp 0 0 dedicatedserver:http h151.ip...:43955 TIME_WAIT
tcp 0 0 dedicatedserver:ssh h151.ip...:2463 ESTABLISHED
tcp 0 0 dedicatedserver:ssh h151.ip...:3997 ESTABLISHED

0 Comments:

Post a Comment

<< Home