util

package
v1.25.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2023 License: Apache-2.0 Imports: 3 Imported by: 60

Documentation

Index

Constants

View Source
const (
	// CgroupRoot is the base path where cgroups are mounted
	CgroupRoot = "/sys/fs/cgroup"
)

Variables

This section is empty.

Functions

func GetPids

func GetPids(cgroupPath string) ([]int, error)

GetPids gets pids of the desired cgroup Forked from opencontainers/runc/libcontainer/cgroup/fs.Manager.GetPids()

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL