Computer Tips - How do I see what the network activity is on my Linux box?

Date: 2008jun19 OS: Linux Q. How do I see what the network activity is on my Linux box? A. Use the netstat command like this:
netstat -a
This will give you everything. To see what's servers you are running do:
netstat -a | grep LISTEN
To see just the TCP/IP activity do:
netstat -a --tcp
See also: http://www.davekb.com/search.php?target=wireshark http://www.davekb.com/search.php?target=lsof http://www.davekb.com/search.php?target=ifconfig