1、查看 CPU 使用情况
bash
dstat -c
- usr 用户
- sys 系统
- idl 空闲
2、查看最占 CPU 的进程
bash
dstat --top-cpu