1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/cgexec.md

10 lines
320 B
Markdown
Raw Normal View History

2021-10-13 01:28:17 +05:00
# cgexec
> Limit, measure, and control resources used by processes.
> Multiple cgroup types (aka controllers) exist, such as `cpu`, `memory`, etc.
> More information: <https://manned.org/cgexec>.
- Execute a process in a given cgroup with given controller:
`cgexec -g {{controller}}:{{cgroup_name}} {{process_name}}`