cookbook 'control_groups', '= 0.1.4'
control_groups
(18) Versions
0.1.4
-
Follow5
Provides and configures cgroups
cookbook 'control_groups', '= 0.1.4', :supermarket
knife supermarket install control_groups
knife supermarket download control_groups
Control Groups
Manage control groups (cgroups) via chef!
Example usage:
control_group_entry 'lackresources' do memory('memory.limit_in_bytes' => '1M') cpu('cpu.shares' => 1) end control_groups_rule 'someuser' do controllers [:cpu, :memory] destination 'lackresources' end
This will restrict all processes created by someuser
into
the lackresources
control group.
Repository:
- Repository: https://github.com/hw-cookbooks/control_groups
- IRC: Freenode @ #heavywater
Dependent cookbooks
This cookbook has no specified dependencies.