| 1 |
# |
| 2 |
# pcp-htop(1) configuration file - see pcp-htop(5) |
| 3 |
# |
| 4 |
|
| 5 |
[cgroups] |
| 6 |
heading = CGroups |
| 7 |
caption = Control Groups |
| 8 |
default = true |
| 9 |
|
| 10 |
user_cpu.heading = UTIME |
| 11 |
user_cpu.caption = User CPU Time |
| 12 |
user_cpu.metric = 1000 * rate(cgroup.cpu.stat.user) |
| 13 |
user_cpu.width = 6 |
| 14 |
|
| 15 |
system_cpu.heading = STIME |
| 16 |
system_cpu.caption = Kernel CPU Time |
| 17 |
system_cpu.metric = 1000 * rate(cgroup.cpu.stat.system) |
| 18 |
system_cpu.width = 6 |
| 19 |
|
| 20 |
cpu_usage.heading = CPU% |
| 21 |
cpu_usage.caption = CPU Utilization |
| 22 |
cpu_usage.metric = 100 * (rate(cgroup.cpu.stat.usage) / hinv.ncpu) |
| 23 |
cpu_usage.format = percent |
| 24 |
|
| 25 |
cpu_psi.heading = CPU-PSI |
| 26 |
cpu_psi.caption = CPU Pressure Stall Information |
| 27 |
cpu_psi.metric = 1000 * rate(cgroup.pressure.cpu.some.total) |
| 28 |
cpu_psi.width = 7 |
| 29 |
|
| 30 |
mem_psi.heading = MEM-PSI |
| 31 |
mem_psi.caption = Memory Pressure Stall Information |
| 32 |
mem_psi.metric = 1000 * rate(cgroup.pressure.memory.some.total) |
| 33 |
mem_psi.width = 7 |
| 34 |
|
| 35 |
io_psi.heading = I/O-PSI |
| 36 |
io_psi.caption = I/O Pressure Stall Information |
| 37 |
io_psi.metric = 1000 * rate(cgroup.pressure.io.some.total) |
| 38 |
io_psi.width = 7 |
| 39 |
|
| 40 |
name.heading = Control group |
| 41 |
name.caption = Control group name |
| 42 |
name.width = -64 |
| 43 |
name.metric = cgroup.cpu.stat.system |
| 44 |
name.instances = true |
| 45 |
name.format = cgroup |