用 NetHogs 监控 Linux 每个进程的网络使用情况㈠ 下载nethogs-0.8.0.tar.gz 安装之前、可能需要先 yum install ncurses*
㈡ 作用 有别于其他统计和监控网卡流量、NetHogs 有点特别、可以监控每个进程的网络带宽占用情况
㈢ 使用 该程序需要 root 权限,默认是监控 eth0 网卡 ,如果有多网卡的话就必须进行指定
nethogs
nethogs eth1
nethogs [option] eth0 eth1
nethogs [option] eth0 eth1 ppp0
sudo /usr/sbin/nethogs eth0
交互式控制指令:
m : Cycle between display modes (kb/s, kb, b, mb)
r : Sort by received.
s : Sort by sent.
q : Quit and return to the shell prompt.
常用的 option :
-d delay for refresh rate.
-h display available commands usage.
-p sniff in promiscious mode (not recommended).
-t tracemode. -V prints Version info.解决CentOS缺少共享库:libstdc++.so.6Linux HugePage 特性相关资讯 Linux进程 Nethogs
- Linux进程间管道通信 (今 20:47)
- Linux线程(进程)数限制 (07月12日)
- Linux的进程优先级 (05月07日)
| - 开发调试Linux服务时好用的进程和 (07月15日)
- Linux进程优先级和nice值 (05月22日)
- Linux进程操作信息 (01月21日)
|
本文评论 查看全部评论 (0)