Versions in this module Expand all Collapse all v0 v0.1.2 Feb 6, 2025 v0.1.1 Sep 10, 2024 v0.1.0 Mar 10, 2024 Changes in this version + const Idle + const Initial + const Running + const Sleeping + const Terminated + const Unavailable + const Zombie + type File struct + CapBnd []byte + CapEff []byte + CapInh []byte + CapPrm []byte + CoreDumping int + CpusAllowed string + FDSize int + GID *GUID + Groups []int + HugetlbPages string + LState string + MemsAllowedList int + NSpgid int + NSpid int + NSsid int + NStgid int + Name string + Ngid int + NonvoluntaryCtxtSwitches int + PPid int + Pid int + RssAnon string + RssFile string + RssShmem string + Seccomp int + ShdPnd []byte + SigBlk []byte + SigCgt []byte + SigIgn []byte + SigMax int + SigPnd []byte + SigQueued int + State ProcessStatus + Tgid int + Threads int + TracerPid int + UID *GUID + UMask int + VMData string + VMExe string + VMHWM string + VMLck string + VMLib string + VMPTE string + VMPeak string + VMPin string + VMRSS string + VMSize string + VMStk string + VMSwap string + VoluntaryCtxtSwitches int + type GUID struct + Effective int + FileSystem int + Real int + SavedSet int + type ProcessStatus string + type Reader struct + Log logging.Logger + func (r *Reader) ReadStatusFromFile(file *os.File) *File + func (r *Reader) ReadStatusFromPID(pid int) (*File, error)