mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
15 lines
414 B
Plaintext
15 lines
414 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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 c[g]roup with given controller:
|
|
|
|
`cgexec -g {{controller}}:{{cgroup_name}} {{process_name}}`
|