htop 是一个 Linux 下的交互式的进程浏览器,可以用来替换Linux下的top命令。

htop - an interactive process viewer for Linux
Comparison between htop and top
* In 'htop' you can scroll the list vertically and horizontally to see all processes and complete command lines.
* In 'top' you are subject to a delay for each unassigned key you press (especially annoying when multi-key escape sequences are triggered by accident).
* 'htop' starts faster ('top' seems to collect data for a while before displaying anything).
* In 'htop' you don't need to type the process number to kill a process, in 'top' you do.
* In 'htop' you don't need to type the process number or the priority value to renice a process, in 'top' you do.
* 'htop' supports mouse operation, 'top' doesn't
* 'top' is older, hence, more used and tested.
最新版本:2.0
增加 IO 优先级控制,增加一个用来控制定时刷新进程列表的选项,除了一些调整和 bug 修复外,还包含如下值得关注的新特性:
如果你使用 NCurses 6, htop 将支持鼠标滚轮操作
仪表和列的移动使用更加舒服
可按 e 键来查看环境和进程变量
重构了仪表的图形模式
此外 htop 现在支持 Linux, FreeBSD, OpenBSD and Mac OS X 等操作系统。
最新版本:3.0
2020年9月,htop 3.0.0 发布了,此版本主要更新内容包括:
支持 ZFS ARC 统计
支持 2 个以上较小的 CPU 仪表列
支持 Linux 比例集大小度量
支持 Linux 压力暂停信息度量
新的选项显示 CPU 频率
内核更新 Linux-sysfs-battery-discovery
在关联面板中添加硬件拓扑信息
strace 屏幕添加时间戳报告
完整更新内容查看更新日志。
项目主页:http://htop.sourceforge.net/index.php