Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCgroupSubsystems ¶
GetCgroupSubsystems returns information about the cgroup subsystems that are of interest as a map of cgroup controllers to their mount points. For example, "cpu" -> "/sys/fs/cgroup/cpu".
The incudeMetrics arguments specifies which metrics are requested, and is used to filter out some cgroups and their mounts. If nil, all supported cgroup subsystems are included.
For cgroup v2, includedMetrics argument is unused, the only map key is "" (empty string), and the value is the unified cgroup mount point.
Types ¶
type Handler ¶ added in v0.30.0
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶ added in v0.30.0
func (*Handler) GetProcesses ¶ added in v0.30.0
Click to show internal directories.
Click to hide internal directories.