libcgroup: Added new package.
authorDaniel Danzberger <redacted>
Fri, 15 Feb 2019 08:32:15 +0000 (09:32 +0100)
committerDaniel Danzberger <redacted>
Sat, 16 Feb 2019 08:55:02 +0000 (09:55 +0100)
commitdfc9555326ce77cb60849428d60af6cb15e372c7
treee6e059795919b7275105dd234ebcf042b706a267
parentc82e79713c63caced1efa29d794c0694423530da
libcgroup: Added new package.

libcgroup also contains cgroup-utils, which make it very handy to work
with user defined cgroups settings.
It let's you define cgroups in a json like config file and execute them on the cmdline.

Example:

/etc/cgroup.conf:
----------------
group lowbob {
        cpu { cpu.shares="1"; }
        cpuacct { cpuset.cpu = "0" }
        memory { memory.limit_in_bytes = 10m; }
        blkio { ... }
...
}
----------------
cgconfigparser -l /etc/cgroup.conf
cgexec -g cpu,memory,blkio:/lowbob cpuintense-task

Signed-off-by: Daniel Danzberger <redacted>
libs/libcgroup/Makefile [new file with mode: 0644]
libs/libcgroup/patches/0001-musl-fts-configure.patch [new file with mode: 0644]
git clone https://git.99rst.org/PROJECT