Show Table of Contents
3.3. cpuacct
CPU 計算(
cpuacct)子系統會自動產生關於控制群組中的任務,CPU 資源使用上的報表。報表類型有三種:
- cpuacct.stat
- 回報此控制群組以及其子群組在使用者模式與系統(kernel)模式中的工作,所耗費的 CPU 週期數目(單位為系統上的
USER_HZ所定義)。 - cpuacct.usage
- 這會回報此控制群組的所有任務(包括階層較低的任務)所消耗的總 CPU 時間(單位為毫秒)。
- cpuacct.usage_percpu
- 這會回報此控制群組的所有任務(包括階層較低的任務)對每顆 CPU 消耗的 CPU 時間(單位為毫秒)。

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.