cgroup

package
v2.4.2 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Monitor

type Monitor struct {
	// contains filtered or unexported fields
}

Monitor resolves cgroup ids into their respective paths

func NewMonitor

func NewMonitor(path string) (*Monitor, error)

NewMonitor returns a new cgroup monitor for a given path

func (*Monitor) Resolve

func (m *Monitor) Resolve(id int) string

Resolve resolves an id to a path for a cgroup

Jump to

Keyboard shortcuts

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