cgroup-stats
Node Module for reading Control Group usage stats
Currently this reads the following data:
- memory.usage_in_bytes - current usage for memory
- memory.max_usage_in_bytes - max memory usage recorded
- cpuacct.stat.user - time spent by tasks of the cgroup in user mode
- cpuacct.stat.system - time spent by tasks of the cgroup in kernel mode
This only works on Linux operating systems
Usage
var cgroupStats = ; ;
License
Code licensed under the MIT license. See LICENSE
file for terms.