mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-13 09:48:07 +00:00
Update cheatsheets
This commit is contained in:
14
linux/cgexec
Normal file
14
linux/cgexec
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
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 cgroup with given controller:
|
||||
|
||||
`cgexec -g {{controller}}:{{cgroup_name}} {{process_name}}`
|
||||
Reference in New Issue
Block a user