cgconfig.conf- that's where you create the control group
cgrules.conf- that's where you add binaries to that specific control group
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 -
Use the following steps to test what you have without the
cgconfigparser -l /etc/cgconfig.conf- to add/register your control group to the system
cgrulesengd- 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