在Linux上是否有htop/top,我可以根据网络使用情况对进程进行排序?
当前回答
Jnettop是另一个候选。
编辑:它只显示流,不显示所有者进程。
其他回答
Ntop或nagios
Jnettop是另一个候选。
编辑:它只显示流,不显示所有者进程。
还iftop:
显示接口带宽使用情况 iftop对网络使用的影响就像top(1)对CPU使用的影响一样。它侦听指定接口上的网络流量,并显示主机对当前带宽使用情况的表。方便回答“为什么我们的ADSL链接这么慢?”的问题…
NetHogs可能就是你要找的:
a small 'net top' tool. Instead of breaking the traffic down per protocol or per subnet, like most tools do, it groups bandwidth by process. NetHogs does not rely on a special kernel module to be loaded. If there's suddenly a lot of network traffic, you can fire up NetHogs and immediately see which PID is causing this. This makes it easy to identify programs that have gone wild and are suddenly taking up your bandwidth. Since NetHogs heavily relies on /proc, most features are only available on Linux. NetHogs can be built on Mac OS X and FreeBSD, but it will only show connections, not processes...
Iptraf是我的最爱。它有一个很好的ncurses界面,以及过滤选项等。
推荐文章
- 如何重定向标准derr和标准输出到不同的文件在同一行脚本?
- 127.0.0.1和localhost之间的区别是什么
- Windows和Linux上的c++编译:ifdef开关
- Linux: kill后台任务
- 为什么SCTP不常用/不为人所知
- 如何修改Linux系统中打开文件的数量限制?
- errno线程安全吗?
- 如何在Linux中永久导出变量?
- 如何首次配置postgresql ?
- 检索Linux上单个进程的CPU使用情况和内存使用情况?
- 如何从远程SSH会话发送数据到本地剪贴板
- SSH端口转发~/。ssh /配置文件?
- 在Linux中安装Java SDK后,我可以在哪里找到它?
- 如何将多个文件的内容追加到一个文件
- linux cat命令可以用来写入文本文件吗?