man > cgset(1)

📛 NAME

cgset - set the parameters of given cgroup(s)

🚀 Quick Reference

Use CaseCommandDescription
🎯 Set a single parametercgset -r <name=value> <cgroup_path>Write a specific parameter (e.g., cpuset.cpus=0-1) to a cgroup
📋 Copy parameters from another cgroupcgset --copy-from <source_cgroup_path> <cgroup_path>Copy all parameters from one cgroup to another (for all controllers where both exist)
🔁 Set multiple cgroups at oncecgset -r ... <path1> <path2> ...Apply the same parameters to multiple cgroup paths
🔧 Control logging verbositySet CGROUP_LOGLEVEL environment variableAllowed values: DEBUG, INFO, WARNING, ERROR

📋 SYNOPSIS

cgset [-r <name=value>] <cgroup_path> ...
cgset --copy-from <source_cgroup_path> <cgroup_path> ...

📝 DESCRIPTION

Set the parameters of input cgroups.

🌍 ENVIRONMENT VARIABLES

💡 EXAMPLES

💻 cgset -r cpuset.cpus=0-1 student

Set variable cpus in control group student (controller cpuset) to 0-1.

💻 cgset --copy-from group1/ group2/

Copy all parameters of group group1 to group group2 (for all paths where both cgroups are defined).

🔗 SEE ALSO

Linux 2009-03-15 CGSET(1)

cgset(1)
📛 NAME 🚀 Quick Reference 📋 SYNOPSIS 📝 DESCRIPTION 🌍 ENVIRONMENT VARIABLES 💡 EXAMPLES
💻 cgset -r cpuset.cpus=0-1 student 💻 cgset --copy-from group1/ group2/
🔗 SEE ALSO

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-02 10:32 @216.73.217.9
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format