温馨提示×

Debian下cpustat在哪

小樊
38
2026-08-25 12:11:40
栏目: 智能运维

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 就会有。

如果你系统里装了却找不到,可以告诉我:

  • Debian 版本号
  • 是物理机还是容器/虚拟机
    我可以帮你进一步排查。

0