const userHZ … type ProcStat … // NewStat returns the current status information of the process. // // Deprecated: Use p.Stat() instead. func (p Proc) NewStat() (ProcStat, error) { … } // Stat returns the current status information of the process. func (p Proc) Stat() (ProcStat, error) { … } // VirtualMemory returns the virtual memory size in bytes. func (s ProcStat) VirtualMemory() uint { … } // ResidentMemory returns the resident memory size in bytes. func (s ProcStat) ResidentMemory() int { … } // StartTime returns the unix timestamp of the process in seconds. func (s ProcStat) StartTime() (float64, error) { … } // CPUTime returns the total CPU user and system time in seconds. func (s ProcStat) CPUTime() float64 { … }