Show Table of Contents
A.11. turbostat
turbostat 工具提供系统处于不同状态所用时间的详细信息。 Turbostat 由 kernel-tools 软件包提供。
默认设置下,turbostat 为整个系统显示计数器结果的摘要,随后每隔五秒出现计数器结果,以下列标头:
- pkg
- 处理器软件包编号。
- core
- 处理器内核编号。
- CPU
- LinuxCPU(逻辑处理器)编号。
- %c0
- cpu 执行完毕的指令间隔百分比。
- GHz
- 当 CPU 处于 c0 状态时,平均时钟速度。
- TSC
- 整个间隔进程中的平均时钟速度。
- %c1、 %c3、和 %c6
- 处理器分别在 c1、c3 或者 c6 状态下间隔百分比。
- %pc3 或者 %pc6
- 处理器分别在 pc3 或者 pc6 状态下的间隔百分比。
使用
-i 选项指定计数器结果间的不同周期,例如:运行 turbostat -i 10 改为每10秒显示结果。
注意
即将推出的 Intel 处理器可能会添加其他 c 状态。自红帽企业版 Linux 7 起,turbostat 支持 c7、c8、c9 和 c10 状态。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.