Bash scripts for managing cgroups (process containers)