Versions in this module Expand all Collapse all v1 v1.2.2 Apr 14, 2021 Changes in this version + func LookupGID(gid string) (string, error) + func LookupUID(uid string) (string, error) + type Process struct + CmdLine []string + Hgroup string + Huser string + Label string + Pid string + PidNS string + Stat proc.Stat + Status proc.Status + func FromPIDs(pids []string, joinUserNS bool) ([]*Process, error) + func New(pid string, joinUserNS bool) (*Process, error) + func (p *Process) CPUTime() (time.Duration, error) + func (p *Process) ElapsedTime() (time.Duration, error) + func (p *Process) SetHostData() error + func (p *Process) StartTime() (time.Time, error)