util

package
v1.30.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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