标签:print hog linu name ubunt 工具 ring ber tcp
1、nethogs
yum -y install nethogs
装上了这个工具之后,使用起来就非常简单了。敲入nethogs 就会给出所有的信息。看下面的例子。
root@ubuntu2:~# nethogs
NetHogs version 0.8.0
PID USER PROGRAM DEV SENT RECEIVED
2214 root /usr/lib/apt/methods/http eth0 4.693 238.631 KB/sec
2051 ubuntu sshd: ubuntu@pts/1 eth0 3.442 0.310 KB/sec
1120 ubuntu sshd: ubuntu@pts/0 eth0 0.416 0.035 KB/sec
2213 root /usr/lib/apt/methods/http eth0 0.021 0.023 KB/sec
? root unknown TCP 0.000 0.000 KB/sec
TOTAL 8.572 239.000 KB/sec
2、iftop
yum -y install iftop
root@ubuntu2:~# iftop -B
标签:print hog linu name ubunt 工具 ring ber tcp
原文地址:https://www.cnblogs.com/kilometerwine/p/9928992.html