MCPcopy Create free account
hub / github.com/opencontainers/runc / pid

Method pid

libcontainer/process_linux.go:130–132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128}
129
130func (p *containerProcess) pid() int {
131 return p.cmd.Process.Pid
132}
133
134func (p *containerProcess) startTime() (uint64, error) {
135 stat, err := system.Stat(p.pid())

Callers 1

startTimeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected