MCPcopy Create free account
hub / github.com/containerd/cgroups / Stat

Method Stat

cgroup1/control.go:79–79  ·  view source on GitHub ↗

Stat returns the stats for all subsystems in the cgroup

(...ErrorHandler)

Source from the content-addressed store, hash-verified

77 MoveTo(Cgroup) error
78 // Stat returns the stats for all subsystems in the cgroup
79 Stat(...ErrorHandler) (*v1.Metrics, error)
80 // Update updates all the subsystems with the provided resource changes
81 Update(resources *specs.LinuxResources) error
82 // Processes returns all the processes in a select subsystem for the cgroup

Callers 15

main.goFile · 0.65
TestPidsFunction · 0.65
TestPidsMissingCurrentFunction · 0.65
TestPidsMissingMaxFunction · 0.65
TestPidsOverflowMaxFunction · 0.65
BenchmarkTestPidsFunction · 0.65
TestCreateFunction · 0.65

Implementers 1

cgroupcgroup1/cgroup.go

Calls

no outgoing calls

Tested by 13

TestPidsFunction · 0.52
TestPidsMissingCurrentFunction · 0.52
TestPidsMissingMaxFunction · 0.52
TestPidsOverflowMaxFunction · 0.52
BenchmarkTestPidsFunction · 0.52
TestCreateFunction · 0.52
TestStatFunction · 0.52