termtrick.com
Run
API
Facebook
Twitter
LinkedIn
Copy link
Execute a process in a given cgroup with given controller
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>.
Trick copyright:
tl;dr; <
https://github.com/tldr-pages/tldr
>
cgexec -g {{controller}}:{{cgroup_name}} {{process_name}}
click the source code to copy
install
cgexec
on any operating system with
command-not-found.com