cgroups plugin¶
| Plugin name | cgroups |
| Type | read |
| Callbacks | config, init, read |
| Status | supported |
| Since | 5.4 |
| Copyright | 2011 Michael Stapelberg , 2013 Florian octo Forster |
| License | GPLv2 |
| Configuration | collectd.conf(5) |
This plugin collects CPU accounting information for processes in a cgroup.
Example graphs¶
None yet. Add one now!
Dependencies¶
- Linux
Configuration¶
Configuration options · from collectd.conf(5)
See this section in the full configuration reference
This plugin collects the CPU user/system time for each cgroup by reading the cpuacct.stat files in the first cpuacct-mountpoint (typically /sys/fs/cgroup/cpu.cpuacct on machines using systemd).
- CGroup Directory
-
Select cgroup based on the name. Whether only matching cgroups are collected or if they are ignored is controlled by the IgnoreSelected option; see below.
See
/"IGNORELISTS"for details. - IgnoreSelected true|false
- Invert the selection: If set to true, all cgroups except the ones that match any one of the criteria are collected. By default only selected cgroups are collected if a selection is made. If no selection is configured at all, all cgroups are selected.