Friday, February 18, 2011

How to watch the Bandwidth Stats by Process using NetHogs in Ubuntu / Debian Linux


NetHogs is a lightweight Linux text-based tool that monitors bandwidth usage, then groups it by process, Network administrators can  can see which PIDs are using the most bandwidth, and if necessary, you can kill the process.
It supports

  • Shows TCP download- and upload-speed per process
  • Supports both IPv4 and IPv6
  • Supports both Ethernet and PPP 
How to Install Nethogs in Ubuntu /debian

Open a Terminal and type the following

$sudo apt-get install nethogs

Usage:

$ sudo nethogs eth0
 
For More help
 
$ man nethogs 

No comments: