Advertisement
Guest User

Untitled

a guest
Feb 5th, 2015
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. #
  2. # Copyright IBM Corporation. 2007
  3. #
  4. # Authors: Balbir Singh <balbir@linux.vnet.ibm.com>
  5. # This program is free software; you can redistribute it and/or modify it
  6. # under the terms of version 2.1 of the GNU Lesser General Public License
  7. # as published by the Free Software Foundation.
  8. #
  9. # This program is distributed in the hope that it would be useful, but
  10. # WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  12. #
  13. #group daemons/www {
  14. # perm {
  15. # task {
  16. # uid = root;
  17. # gid = webmaster;
  18. # }
  19. # admin {
  20. # uid = root;
  21. # gid = root;
  22. # }
  23. # }
  24. # cpu {
  25. # cpu.shares = 1000;
  26. # }
  27. #}
  28. #
  29. #group daemons/ftp {
  30. # perm {
  31. # task {
  32. # uid = root;
  33. # gid = ftpmaster;
  34. # }
  35. # admin {
  36. # uid = root;
  37. # gid = root;
  38. # }
  39. # }
  40. # cpu {
  41. # cpu.shares = 500;
  42. # }
  43. #}
  44. #
  45.  
  46. mount {
  47. cpu = /sys/fs//cgroup/cpu;
  48. cpuacct = /sys/fs/cgroup/cpuacct;
  49. devices = /sys/fs/cgroup/devices;
  50. memory = /sys/fs/cgroup/memory;
  51. freezer = /sys/fs/cgroup/freezer;
  52. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement