Does anybody has already used Linux Control Groups (cgroup) to manage Java processes? I'm trying to profile CPU time utilization (thanks to the cpuacct.usage file) and I'm unable to get other value than 0...
Asked
Active
Viewed 1,486 times
2 Answers
0
For anyone who wants to get process CPU time utilization, informations contained into the procfs file system could be useful. See /proc/[pid]/stat
under a standard Linux system for more details (man proc
)
Between, I'm still waiting for a clue to my cgroup "mistake" :)

Aurélien Bourdon
- 186
- 8
-1
Use jcgroup please. https://github.com/haosdent/jcgroup You could use this library to limit the CPU shares, Disk I/O speed, Network bandwidth and etc.

haosdent
- 965
- 2
- 8
- 17