kinvolk-archives / cgroupid

return the cgroup ID of a specified path

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cgroupid

The cgroupid command returns the cgroup ID for the specified path.

Example:

$ docker run --privileged -ti --rm -v /sys/fs/cgroup:/sys/fs/cgroup kinvolk/cgroupid /bin/cgroupid /sys/fs/cgroup/unified
4294967297

About

return the cgroup ID of a specified path

License:Apache License 2.0


Languages

Language:C 57.0%Language:Dockerfile 29.2%Language:Makefile 13.8%