package v2

import "github.com/coreos/rkt/common/cgroup/v2"

Index

Functions

func GetCgroupPathByPid

func GetCgroupPathByPid(pid int) (string, error)

GetCgroupPathByPid returns the cgroup path of the process

func GetEnabledControllers

func GetEnabledControllers() ([]string, error)

GetEnabledControllers returns a list of enabled cgroup controllers

func GetOwnCgroupPath

func GetOwnCgroupPath() (string, error)

GetOwnCgroupPath returns the cgroup path of this process

Source Files

cgroup.go

Version
v1.30.0 (latest)
Published
Apr 13, 2018
Platform
linux/amd64
Imports
6 packages
Last checked
6 days ago

Tools for package owners.