3 ms·
The cgroup freezer is much better (reliable). https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/cgroup-v1/freezer-subsystem
by grapeli23 8y ago
The cgroup freezer is much better (reliable).
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/cgroup-v1/freezer-subsystem.txt https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...
- vermaden 8y agoIn what way its more reliable? It works only on Linux. Mine approach works on Linux/FreeBSD/OpenBSD/Illumos/Solaris/UNIX/...
- stubborn_d0nkey 8y agoMore reliable not more available. It's because programs in userspace can mess with the signal usage, while they can't with the cgroup feezing.
- blueyed 8y agoSounds interesting, and I've created a note to look into this for my recipe that I use with awesomeWM (https://github.com/awesomeWM/awesome-www/pull/111/files https://github.com/awesomeWM/awesome-www/pull/111/files). However at first glance it is much more difficult to setup (cgroups permissions, creating task groups etc). I wonder if there is a wrapper that would behave more like "kill -STOP" already?