util

package
v1.28.3 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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