Open ismell opened 3 years ago
https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v1/cgroups.html#attaching-processes
printf "%d" 0 > "$cgroup/tasks"
This should move the current task into the cgroup.
Currently this fails:
printf "%d" 0 > /sys/fs/cgroup/openrc/tasks -bash: printf: write error: No such process
I don’t think lx has support for cgroups at the moment.
https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v1/cgroups.html#attaching-processes
This should move the current task into the cgroup.
Currently this fails: