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

Method startTime

libcontainer/process_linux.go:134–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132}
133
134func (p *containerProcess) startTime() (uint64, error) {
135 stat, err := system.Stat(p.pid())
136 return stat.StartTime, err
137}
138
139func (p *containerProcess) signal(sig os.Signal) error {
140 return p.cmd.Process.Signal(sig)

Callers

nothing calls this directly

Calls 2

pidMethod · 0.95
StatFunction · 0.92

Tested by

no test coverage detected