The cpuacct
subsystem generates automatic reports on CPU resources used by the tasks in a control group, including tasks in child groups. Three reports are available:
- cpuacct.stat
reports the number of CPU cycles (in the units defined by USER_HZ
on the system) consumed by tasks in this control group and its children in both user mode and system (kernel) mode.
- cpuacct.usage
reports the total CPU time (in nanoseconds) consumed by all tasks in this control group (including tasks lower in the hierarchy).
- cpuacct.usage_percpu
reports the CPU time (in nanoseconds) consumed on each CPU by all tasks in this control group (including tasks lower in the hierarchy).