nethogs-linux程序网络使用情况

netthogs可以显示每个程序的网络传输情况
安装nethogs工具
yum install https://mirrors.tuna.tsinghua.edu.cn/epel/7/x86_64/Packages/n/nethogs-0.8.5-1.el7.x86_64.rpm
依赖libpcap
语法:
nethogs [-V] [-h] [-b] [-d seconds] [-v mode] [-c count] [-t] [-p] [-s] [device [device [device ...]]]
-d num,更新频率,默认1秒
运行中的操作:
q,退出;s,按发送流量排序;r,按接收流量排序;m,在KB、B、MB、KB/s之间切换

posted @ 2019-09-06 11:23  侃豺小哥  阅读(217)  评论(0编辑  收藏  举报