HetHogs

NetHogs is a small ‘net top’ tool. Instead of breaking the traffic down per protocol or per subnet, like most tools do, it groups bandwidth by process. NetHogs does not rely on a special kernel module to be loaded. If there’s suddenly a lot of network traffic, you can fire up NetHogs and immediately see which PID is causing this. This makes it easy to indentify programs that have gone wild and are suddenly taking up your bandwidth.

Since NetHogs heavily relies on /proc, it currently runs on Linux only.

需要 pcap-devel 及 ncurses-devel

指令

nethogs
nethogs eth1
nethogs [option] eth0 eth1
nethogs [option] eth0 eth1 ppp0

 

參考

http://www.cyberciti.biz/faq/linux-find-out-what-process-is-using-bandwidth/

Related posts 相關文章
wondershaper 針對網卡限制頻寬/上下傳速度
More...
使用 trickle 限制程序上下傳速度/頻寬
More...
dnstop 統計 dns 查詢,像 tcpdump + top 一樣的工具,即時查看狀態
More...
最近我把網站流量導到 CDN 服務上
More...

作者

留言

撰寫回覆或留言

發佈留言必須填寫的電子郵件地址不會公開。