[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 ~]#
版权声明:本文为博主原创文章,未经博主允许不得转载。