linux 网卡利用率,Linux 下 NetHogs 工具按进程实时统计网络带宽利用率

[root@dave.cndba.cn ~]# yum install nethogs

base | 3.6 kB 00:00:00

epel | 4.3 kB 00:00:00

extras | 3.4 kB 00:00:00

updates | 3.4 kB 00:00:00

Loading mirror speeds from cached hostfile

Resolving Dependencies

--> Running transaction check

---> Package nethogs.x86_64 0:0.8.5-1.el7 will be installed

--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================

Package Arch Version Repository Size

=====================================================================================

Installing:

nethogs x86_64 0.8.5-1.el7 epel 38 k

Transaction Summary

=====================================================================================

Install 1 Package

Total download size: 38 k

Installed size: 71 k

Is this ok [y/d/N]: y

Downloading packages:

nethogs-0.8.5-1.el7.x86_64.rpm | 38 kB 00:00:00

Running transaction check

Running transaction test

Transaction test succeeded

Running transaction

Installing : nethogs-0.8.5-1.el7.x86_64 1/1

Verifying : nethogs-0.8.5-1.el7.x86_64 1/1

Installed:

nethogs.x86_64 0:0.8.5-1.el7

Complete!

[root@dave.cndba.cn ~]# nethogs

Ethernet link detected

Waiting for first packet to arrive

NetHogs version 0.8.5

28018 root wget eth0 17.399 699.899 KB/sec

PID USER PROGRAM DEV SENT RECEIVED

27993 root wget eth0 10.380 378.250 KB/sec

27824 root wget eth0 8.912 334.306 KB/sec

27992 root wget eth0 8.084 310.944 KB/sec

27991 root wget eth0 4.293 153.247 KB/sec

28644 root sshd: root@pts/0 eth0 0.591 0.162 KB/sec

? root unknown TCP 0.000 0.000 KB/sec

TOTAL 49.659 1876.807 KB/sec

[root@dave.cndba.cn ~]#

https://www.cndba.cn/dave/article/2299

https://www.cndba.cn/dave/article/2299

https://www.cndba.cn/dave/article/2299

https://www.cndba.cn/dave/article/2299

https://www.cndba.cn/dave/article/2299

https://www.cndba.cn/dave/article/2299

https://www.cndba.cn/dave/article/2299

https://www.cndba.cn/dave/article/2299

https://www.cndba.cn/dave/article/2299

https://www.cndba.cn/dave/article/2299

版权声明:本文为博主原创文章,未经博主允许不得转载。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值