Nethogs is a small, free open source command-line tool used to count network bandwidth usage in real time by process or program.
For use similar to "repo tool", "Depot_tools" and other tools checkout source code is very useful, you can view the current download speed information, so you do not blindly wait.
Installation under Ubuntu system
sudo apt-get install Nethogs
How to use
Nethogs [-d] [-h] [-P] [-t] [-v] [device (s)]
- THE-D switch delay for the refresh rate.
- The-h switch display available commands usage.
- The-p switch Sniff in promiscious mode (not recommended).
- THE-V Switch Prints Version info.
Example
sudo nethogs eth0
sudo nethogs ppp0
original articles, reproduced please specify: reproduced from http://www.mr-wu.cn/Wuchuanbin blog
This article link address: use Nethogs to monitor network traffic under Ubuntu http://www.mr-wu.cn/ubuntu-nethogs/
Use Nethogs to monitor network traffic under Ubuntu