Versions in this module Expand all Collapse all v1 v1.0.3 Dec 21, 2023 Changes in this version + const RunStateIdle + const RunStateRun + const RunStateSleep + const RunStateStop + const RunStateUnknown + const RunStateZombie + func BrushMempprof() []byte + func BrushSummary(w io.Writer) + func LookupGoroutine() []byte + func LookupThreadcreate() []byte + func StartCpupprof() []byte + type Cpu struct + Idle uint64 + Irq uint64 + Nice uint64 + SoftIrq uint64 + Stolen uint64 + Sys uint64 + User uint64 + Wait uint64 + func (self *Cpu) Get() error + func (self *Cpu) Total() uint64 + type CpuList struct + List []Cpu + func (self *CpuList) Get() error + type FileSystem struct + DevName string + DirName string + Flags uint32 + Options string + SysTypeName string + TypeName string + type FileSystemList struct + List []FileSystem + func (self *FileSystemList) Get() error + type FileSystemUsage struct + Avail uint64 + Files uint64 + Free uint64 + FreeFiles uint64 + Total uint64 + Used uint64 + type LoadAverage struct + Fifteen float64 + Five float64 + One float64 + func (self *LoadAverage) Get() error + type Mem struct + ActualFree uint64 + ActualUsed uint64 + Free uint64 + Total uint64 + Used uint64 + func (self *Mem) Get() error + type ProcArgs struct + List []string + func (self *ProcArgs) Get(pid int) error + type ProcExe struct + Cwd string + Name string + Root string + func (self *ProcExe) Get(pid int) error + type ProcList struct + List []int + func (self *ProcList) Get() error + type ProcMem struct + MajorFaults uint64 + MinorFaults uint64 + PageFaults uint64 + Resident uint64 + Share uint64 + Size uint64 + func (self *ProcMem) Get(pid int) error + type ProcState struct + Name string + Nice int + Ppid int + Priority int + Processor int + State RunState + Tty int + func (self *ProcState) Get(pid int) error + type ProcTime struct + StartTime uint64 + Sys uint64 + Total uint64 + User uint64 + func (self *ProcTime) Get(pid int) error + type RunState byte + type Swap struct + Free uint64 + Total uint64 + Used uint64 + func (self *Swap) Get() error + type Uptime struct + Length float64 + func (self *Uptime) Get() error