Dave's Brain

Browse - 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

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.