/cgroupid

return the cgroup ID of a specified path

Primary LanguageCApache License 2.0Apache-2.0

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