btop 比 top 好用的资源监控器
介绍
- 易于使用,具有游戏灵感的菜单系统
- 完全支持鼠标,所有带有突出显示键的按钮都是可点击的,鼠标滚动在进程列表和菜单框中工作
- 带有 UP、DOWN 键处理选择的快速响应式 UI
- 用于显示所选进程的详细统计信息的功能
- 过滤过程的能力
- 在排序选项之间轻松切换
- 进程的树视图
- 向选定的进程发送任何信号
- 用于更改所有配置文件选项的 UI 菜单
- 网络使用情况的自动缩放图
- 显示磁盘的 IO 活动和速度
- GPU
- 电池表
- 图表的可选符号
- 自定义预设
安装
apt install btop
help
$ btop --help
usage: btop [-h] [-v] [-/+t] [-p <id>] [-u <ms>] [--utf-force] [--debug]
optional arguments:
-h, --help show this help message and exit
-v, --version show version info and exit
-lc, --low-color disable truecolor, converts 24-bit colors to 256-color
-t, --tty_on force (ON) tty mode, max 16 colors and tty friendly graph symbols
+t, --tty_off force (OFF) tty mode
-p, --preset <id> start with preset, integer value between 0-9
-u, --update <ms> set the program update rate in milliseconds
--utf-force force start even if no UTF-8 locale was detected
--debug start in DEBUG mode: shows microsecond timer for information collect
and screen draw functions and sets loglevel to DEBUG
使用说明:
1
cpu, menu(可点击,菜单), preset(其他样式)
- 可显示 CPU 的频率、load average、温度
2
men(内存)
3
net(网络)
4
proc(进程信息,支持 filter(搜素)、tree、排序(reverse))
- Use keys
5, 6, 7
and 0
to show/hide the gpu monitoring boxes. 5 = Gpu 1, 6 = Gpu 2
, etc.
示例
btop
btop -t