CManager is a web service that manages CGroups. It provides a website for human use, as well as an API for machine use.
Just visit localhost
, intuition will lead your way from there.
- URL:
/api/groups
- Method: GET
- URL:
/api/groups/<group_name>
- Method: GET
<group_name>
should be URL-encoded
- URL:
/api/groups/<group_name>
- Method: POST
<group_name>
should be URL-encoded
Parameters:
pid
: The PID of the task to be added to the group
- Include
module.nix
from/etc/nixos/configuration.nix
- Run
nixos-rebuild switch