sous-chefs / cpu

Development repository for the cpu cookbook
https://supermarket.chef.io/cookbooks/cpu
Apache License 2.0
4 stars 22 forks source link
chef chef-cookbook chef-resource cpu hacktoberfest managed-by-terraform

cpu Cookbook

Cookbook Version Build Status OpenCollective OpenCollective License

Manage CPU Governor on linux

Requirements

Platforms

Chef

Cookbooks

No dependencies defined

Attributes

Recipes

Resources

cpu_affinity

Actions

Properties

Examples

cpu_affinity 1234 do
  cpu 0
end

Set affinity to processor 0,1,2 for process nginx

cpu_affinity 'set affinity for nginx' do
  pid '/var/run/nginx.pid'
  cpu '0-2'
end

cpu_nice

Actions

Properties

Examples

cpu_nice 1234 do
  priority 12
end
cpu_nice 'set affinity for nginx' do
  pid '/var/run/nginx.pid'
  priority 19
end

License and Maintainer

Original Maintainer:: Guilhem Lettron

License:: Apache v2.0

Contributors

This project exists thanks to all the people who contribute.

Backers

Thank you to all our backers!

https://opencollective.com/sous-chefs#backers

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website.

https://opencollective.com/sous-chefs/sponsor/0/website https://opencollective.com/sous-chefs/sponsor/1/website https://opencollective.com/sous-chefs/sponsor/2/website https://opencollective.com/sous-chefs/sponsor/3/website https://opencollective.com/sous-chefs/sponsor/4/website https://opencollective.com/sous-chefs/sponsor/5/website https://opencollective.com/sous-chefs/sponsor/6/website https://opencollective.com/sous-chefs/sponsor/7/website https://opencollective.com/sous-chefs/sponsor/8/website https://opencollective.com/sous-chefs/sponsor/9/website