Cgroups - howto: Difference between revisions

From Skytech
Jump to navigation Jump to search
(Created page with "Category:Linux Howto - cgroups")
 
No edit summary
Line 2: Line 2:


Howto - cgroups
Howto - cgroups

This is only for debian wheezy

= Prereq =
<pre>
apt-get install cgroup-bin
</pre>

== Enable cgroups memory configuration ==
This is disabled by default in wheezy (installed though), so activate via:
<pre>
vim /etc/default/grub
# Add cgroup_enable=memory to GRUB_CMDLINE_KERNEL:
GRUB_CMDLINE_LINUX="cgroup_enable=memory"
</pre>

Revision as of 11:28, 20 September 2014


Howto - cgroups

This is only for debian wheezy

Prereq

apt-get install cgroup-bin 

Enable cgroups memory configuration

This is disabled by default in wheezy (installed though), so activate via:

vim /etc/default/grub
# Add cgroup_enable=memory to GRUB_CMDLINE_KERNEL:
GRUB_CMDLINE_LINUX="cgroup_enable=memory"