cgconfig.conf- that's where you create the control group/etc/cgrules.conf- that's where you add binaries to that specific control group/etc/cgconf- that's the init script i use because its not available on ubuntu. It might be available for your OS in the package manager. I took the startup script from http://askubuntu.com/questions/836469/install-cgconfig-in-ubuntu-16-04 -/etc/init.d/
Use the following steps to test what you have without the
cgconfigparser -l /etc/cgconfig.conf- to add/register your control group to the systemcgrulesengd- sends the binary-cgroup binding rules.- run the application \m/ w00t!
- Note: I tested by creating a cgroup with 1MB of RAM and tested if chrome crashed or not. It should crash
On Fedora:
Line 21:
uid = avk;