Versions in this module Expand all Collapse all v0 v0.21.0 Jul 3, 2024 v0.20.0 Jul 3, 2024 Changes in this version + type ProcStat struct + ArgEnd int64 + ArgStart int64 + Blocked uint64 + CguestTime int64 + CmajFlt uint64 + CminFlt uint64 + Cnswap int64 + Comm string + Cstime int64 + Cutime int64 + DelayacctBlkioTicks int64 + EndData int64 + Endcode int64 + EnvEnd int64 + EnvStart int64 + ExitCode int + ExitSignal int + Flags uint + GuestTime int64 + ItRealValue int64 + Kstkeip int64 + Kstkesp int64 + MajFlt uint64 + MinFlt uint64 + Nice int + Nswap int64 + NumThreads int + Pgrp int + Pid int + Policy int + Ppid int + Priority int + Processor int + Rss int64 + Rsslim uint64 + RtPriority int + Session int + SigIgnore uint64 + Sigcatch uint64 + Signal uint64 + StartBrk int64 + StartData int64 + StartStack int64 + StartTime int64 + Startcode int64 + State byte + Stime int64 + Tpgid int + TtyNr int + Utime int64 + Vsize int64 + Wchan int64 + func NewProcStat(pid int) (*ProcStat, error) + func NewThreadProcStat(pid, tid int) (*ProcStat, error) + type ProcStatus map[string]string + func NewProcStatus(pid int) (*ProcStatus, error) + func NewThreadProcStatus(pid, tid int) (*ProcStatus, error) + func (ps ProcStatus) GetGid() [4]int + func (ps ProcStatus) GetName() string + func (ps ProcStatus) GetNsPPid() int + func (ps ProcStatus) GetNsPid() int + func (ps ProcStatus) GetNsTgid() int + func (ps ProcStatus) GetPPid() int + func (ps ProcStatus) GetPid() int + func (ps ProcStatus) GetState() string + func (ps ProcStatus) GetTgid() int + func (ps ProcStatus) GetThreads() int + func (ps ProcStatus) GetUid() [4]int v0.0.1 Aug 14, 2023 Changes in this version + func GetAllBinaryProcs() (map[string][]uint32, error) + func GetMountNSFirstProcesses() (map[int]int, error) + func GetProcBinary(pid uint) (string, error) + func GetProcNS(pid uint, nsName string) (int, error) + func GetProcessStartTime(pid uint) (int, error) + type ProcNS struct + Cgroup int + Ipc int + Mnt int + Net int + Pid int + PidForChildren int + Time int + TimeForChildren int + User int + Uts int + func GetAllProcNS(pid uint) (*ProcNS, error)