libponci is an interface for Linux control groups (cgroups). It uses the cgroup file system and can only be used if the file system is mounted and accessible by the user. Its main design goal is simplicity. It is currently not feature complete.
Please take a look at the file example.cpp included in the repository.
Please feel free to open issues at GitHub if you run into any issues or submit pull requests if you added new features / fixed existing ones.
LGPLv2.1+