command line network tools on linux

July 29th, 2011 by xrigher Leave a reply »

netstat

  • netstat -tulpan:
  • netstat -tl
  • netstat -anp –tcp –udp: will show all open tcp and udp connections.

lsof

  • lsof -i
  • lsof -i | grep 80
  • lsof -i | grep apache2

iftop

display bandwidth usage on an interface by host
Advertisement

Leave a Reply