Versions in this module Expand all Collapse all v1 v1.1.2 Feb 25, 2019 v1.1.0 Sep 4, 2018 Changes in this version + type AllProcess struct + CoreNum int + Cores []proc.CPU + Processes []Process + TimeStamp int64 + UpTime proc.UpTimeInfo + type AllProcessCtrl struct + Controller *beego.Controller + func (p *AllProcessCtrl) AllPidInfo(ap *AllProcess) + func (p *AllProcessCtrl) Do() interface{} + type DetailsCtrl struct + Controller *beego.Controller + func (p *DetailsCtrl) Do() interface{} + type Process struct + Cmdline string + Comm string + IOReadBytes uint64 + IOWriteBytes uint64 + Nice int64 + Pid string + Priority int64 + StartTime uint64 + State string + Task []string + TaskCPU int + Threads uint64 + Uid uint64 + UsedCPU uint64 + User string + VmPTE uint64 + VmRSS uint64 + VmShare uint64 + VmSize uint64 + VmSwap uint64 + func PidInfo(pidStr string) (Process, error)