在 Debian 下,cpustat 不是系统默认自带的命令,它来自 sysstat 工具集。
sudo apt update
sudo apt install sysstat
$ which cpustat
/usr/bin/cpustat
cpustat
cpustat -u
cpustat -c
cpustat -V
✅ 说明
cpustat使用情况在 Debian 10/11/12 中都是一样的,只要装了sysstat就会有。
如果你系统里装了却找不到,可以告诉我: