Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cgroup ¶
Cgroup represents a linux cgroup.
func GetCgroups ¶
GetCGroups returns a slice of cgroups for pid using fs for filesystem calls.
The expected cgroup format is "hierarchy-ID:controller-list:cgroup-path", and this function will return an error if every cgroup does not meet that format.
For more information, see:
Click to show internal directories.
Click to hide internal directories.