700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > linux系统怎么运行nethogs linux下监控进程实时流量nethogs的安装

linux系统怎么运行nethogs linux下监控进程实时流量nethogs的安装

时间:2022-01-10 15:30:28

相关推荐

linux系统怎么运行nethogs linux下监控进程实时流量nethogs的安装

我的环境是centos6.5 x64位的

1,安装nethogs的依赖包

yum install libpcap libpcap-devel

2, 再去ftp://ftp.muug.mb.ca/mirror/fedora/epel/6/x86_64/nethogs-0.8.0-1.e16.x86_64.rpm

3,安装nethogs

rpm –ivh nethogs-0.8.0-1.e16.x86_64.rpm

nethogs -p 网卡号(如eth0),如下图:

NetHogs version 0.8.0

PID USER PROGRAM DEV SENT RECEIVED

? root ..143:1388-192.168.21.6:139 0.000 0.634 KB/sec

13439 root sshd: root@pts/0 eth0 1.730 0.123 KB/sec

? root ..92:80-192.168.25.57:47869 0.014 0.040 KB/sec

? root ..92:80-192.168.25.99:60509 0.014 0.040 KB/sec

? root ..99:52052-192.168.20.94:80 0.000 0.014 KB/sec

? root ..57:54920-192.168.20.94:80 0.000 0.014 KB/sec

? root ..92:80-192.168.25.57:47867 0.000 0.000 KB/sec

? root ..92:80-192.168.25.99:60507 0.000 0.000 KB/sec

? root ..99:52050-192.168.20.94:80 0.000 0.000 KB/sec

? root ..57:54918-192.168.20.94:80 0.000 0.000 KB/sec

? root ..2337-192.168.25.118:10050 0.000 0.000 KB/sec

? root ..2336-192.168.25.118:10050 0.000 0.000 KB/sec

? root ..92:80-192.168.25.57:47865 0.000 0.000 KB/sec

? root ..92:80-192.168.25.99:60505 0.000 0.000 KB/sec

? root ..99:52048-192.168.20.94:80 0.000 0.000 KB/sec

? root ..57:54916-192.168.20.94:80 0.000 0.000 KB/sec

? root ..2335-192.168.25.118:10050 0.000 0.000 KB/sec

? root ..2334-192.168.25.118:10050 0.000 0.000 KB/sec

? root ..2333-192.168.25.118:10050 0.000 0.000 KB/sec

? root ..2332-192.168.25.118:10050 0.000 0.000 KB/sec

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。