Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProcStat ¶
type ProcStat struct { User float64 System float64 Nice float64 Idle float64 Wait float64 Irq float64 Srq float64 Zero float64 // contains filtered or unexported fields }
ProcStat is a struct which represent cpu usage in Golang
func GetProcStat ¶
GetProcStat is a function which returns new ProcStat structure
Click to show internal directories.
Click to hide internal directories.