package
1.0.0
Repository: https://github.com/andyxning/containerd.git
Documentation: pkg.go.dev

# Functions

CreateUnixSocket creates a unix socket and returns the listener.
EpollCreate1 directly calls unix.EpollCreate1.
EpollCtl directly calls unix.EpollCtl.
EpollWait directly calls unix.EpollWait.
GetLocalListener returns a listerner out of a unix socket.
GetOpenFds returns the number of open fds for the process provided by pid.
GetSubreaper returns the subreaper setting for the calling process.
GetSystemCPUUsage returns the host system's cpu usage in nanoseconds.
Reap reaps all child processes for the calling process and returns their exit information.
SetOOMScore sets the oom score for the provided pid.
SetSubreaper sets the value i as the subreaper setting for the calling process.
StatAtime returns the Atim.
StatCtime returns the Ctim.
StatMtime returns the Mtim.

# Constants

OOMScoreMaxKillable is the maximum score keeping the process killable by the oom killer.

# Structs

Exit is the wait4 information from an exited process.