Versions in this module Expand all Collapse all v0 v0.5.1 Mar 21, 2023 v0.5.0 Mar 21, 2023 Changes in this version type ProcessStat + Cmdline string + Cwd string + Environ string v0.4.0 Mar 21, 2023 Changes in this version type ProcessStat + PID int + RSS int64 + TTY int v0.3.0 Dec 12, 2019 v0.2.0 Dec 12, 2019 v0.1.0 Dec 12, 2019 Changes in this version + type Process struct + Children []int + Name string + Stat ProcessStat + type ProcessStat struct + Cmajflt uint64 + Cminflt uint64 + Comm string + Cstime int64 + Cutime int64 + Flags uint32 + Itrealval int64 + Majflt uint64 + Minflt uint64 + Nice int64 + Nthreads int64 + Pgrp int + Pid int + Ppid int + Priority int64 + Rss int64 + Session int + Starttime int64 + State byte + Stime uint64 + Tpgid int + Tty int + Utime uint64 + Vsize uint64 + type Tree struct + Procs map[int]Process + func New() (*Tree, error)