Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /etc/cgconfig.conf
- mount {
- cpu = /cgroups/cpu;
- cpuacct = /cgroups/cpuacct;
- memory = /cgroups/memory;
- }
- group java-i2p {
- perm {
- admin {
- uid = root;
- }
- task {
- uid = i2psvc;
- }
- }
- cpu {
- cpu.shares = 400;
- }
- }
- group java-hah {
- perm {
- admin {
- uid = root;
- }
- task {
- uid = hah;
- }
- }
- cpu {
- cpu.shares = 400;
- }
- }
- cat /etc/cgrules.conf
- #<user> <controllers> <destination>
- @i2psvc cpu java-i2p
- hah cpu java-hah
Advertisement
Add Comment
Please, Sign In to add comment