-
#安装编译nethogs的依赖包
-
yum -y install libpcap libpcap-devel
-
#下载nethogs最新版
-
wget 'http://downloads.sourceforge.net/project/nethogs/nethogs/0.8/nethogs-0.8.0.tar.gz'
-
-
tar -xzvf nethogs-0.8.0.tar.gz
-
cd nethogs
-
make && make install
-
-
#默认安装好后的路径是/usr/local/sbin/nethogs
附件:http://down.51cto.com/data/2363850
本文转自 liang3391 51CTO博客,原文链接:http://blog.51cto.com/liang3391/1338779