fix cgroup monitoring
This commit is contained in:
parent
be9e640d3e
commit
57a50c5156
@ -35,15 +35,9 @@ in
|
||||
cgroup = [
|
||||
{
|
||||
paths = [
|
||||
"/sys/fs/cgroup/memory/system.slice/*"
|
||||
"/sys/fs/cgroup/system.slice/*"
|
||||
];
|
||||
files = ["memory.*usage*" "memory.limit_in_bytes"];
|
||||
}
|
||||
{
|
||||
paths = [
|
||||
"/sys/fs/cgroup/cpu/system.slice/*"
|
||||
];
|
||||
files = ["cpuacct.usage" "cpu.cfs_period_us" "cpu.cfs_quota_us"];
|
||||
files = ["memory.current" "cpu.stat"];
|
||||
}
|
||||
];
|
||||
ipmi_sensor = { path = "${pkgs.ipmitool}/bin/ipmitool"; };
|
||||
|
Loading…
Reference in New Issue
Block a user