Linux 查看实时流量

安装<nethogs>

yum install nethogs

使用<nethogs>

nethogs
NetHogs version 0.8.7

    PID USER     PROGRAM                                        DEV         SENT      RECEIVED      
      ? root     unknown TCP                                                1.515	2.370 KB/sec
1996004 root     sshd: root@pts/1                               enp1s0      1.040	0.950 KB/sec
1850919 root     /usr/bin/qbittorrent-nox                       enp1s0      0.272	0.324 KB/sec

  TOTAL                                                                     2.827       3.643 KB/sec
  • 按Shift + m键 在KB、MB、GB 之间切换

安装<iftop>

yum install iftop
iftop

文章作者: ABin
本文链接:
版权声明: 本站所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 ABin!