MCPcopy Create free account
hub / github.com/bpowers/mstat / NewCgroupManager

Function NewCgroupManager

cgroup.go:42–53  ·  view source on GitHub ↗

NewCgroupManager creates a cgroup manager for the current system It auto-detects whether to use v1 or v2 based on system configuration

(path string, memLimit int64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.85

Calls 2

newV2ManagerFunction · 0.85
newV1ManagerFunction · 0.85

Tested by

no test coverage detected