温馨提示×

cpustat在debian叫啥

小樊
44
2026-09-01 17:28:31
栏目: 智能运维

在 Debian 里,cpustat 这个工具通常就是叫 cpustat,不过它来自不同的软件包,具体看你说的是哪一个:

1. cpustat(Irfran Ali 写的,类似 top 的 CPU 统计工具)

  • Debian 包名:cpustat
  • 安装:
    sudo apt update
    sudo apt install cpustat
    

2. 如果你指的是 sysstat 里的工具(比如 mpstat / sar / iostat)

  • Debian 包名:sysstat
  • 安装:
    sudo apt install sysstat
    
  • 常用命令:
    • mpstat
    • sar
    • iostat

3. 如果你只是想看 CPU 使用情况

Debian 下常见替代:

  • top / htop(htop 需安装)
  • mpstat -P ALL 1
  • cat /proc/stat

如果你能说一下你原本用的 cpustat 是干什么的(比如是不是显示每个 CPU 核心占用、是不是带直方图),我可以更精确告诉你 Debian 里对应叫啥。

0