2020-11-04 20:12:56 +00:00
|
|
|
|
# btm
|
|
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
|
> 命令行`top`的替代品。
|
|
|
|
|
> 比 `top` 更轻便,支持跨平台、图表更丰富。
|
|
|
|
|
> 更多信息: <https://github.com/ClementTsang/bottom>.
|
2020-11-04 20:12:56 +00:00
|
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
|
- 展示默认布局(cpu, 内存,温度,磁盘,网络和 进程):
|
2020-11-04 20:12:56 +00:00
|
|
|
|
|
|
|
|
|
`btm`
|
|
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
|
- 开启基础模式,关闭图表和高亮(接近于 `top`):
|
2020-11-04 20:12:56 +00:00
|
|
|
|
|
|
|
|
|
`btm --basic`
|
|
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
|
- 将图表中的小点换成大点:
|
2020-11-04 20:12:56 +00:00
|
|
|
|
|
|
|
|
|
`btm --dot_marker`
|
|
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
|
- 展示电池充电和健康状态:
|
2020-11-04 20:12:56 +00:00
|
|
|
|
|
|
|
|
|
`btm --battery`
|
|
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
|
- 设置图表刷新间隔和留存数据的时长:
|
2020-11-04 20:12:56 +00:00
|
|
|
|
|
|
|
|
|
`btm --rate 250 --default_time_value 30000`
|