Custom procfs that provides a cgroup aware
meminfo. It is currently being
developed and tested against the kernel used on Ubuntu 13.10 (3.11.0), but it is
known to work on 3.14.0 as well.
This kernel module is built and distributed with DKMS.
For a local build:
ln -s <path-to-procg> /usr/src/procg-0.0.1 sudo dkms add -m procg -v 0.0.1 sudo dkms build -m procg -v 0.0.1 sudo dkms install -m procg -v 0.0.1
To build a debian package:
sudo dkms mkdeb procg/0.0.1 --source-only
The package will be at
Once the module is installed (at
/lib/modules/$(uname -r)/updates/dkms, if you
followed the previous section):
sudo modprobe procg sudo mkdir /procg sudo mount -t procg none /procg
Copyright (C) 2014 Fabio Kung This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. A copy of the GNU General Public License is in the COPYING file, which can also be found online at <http://www.gnu.org/licenses/>.