Documentation ¶
Index ¶
- Variables
- func CalculateCPUUtilization(begin *Stat, now *Stat) (float64, error)
- func FormatFloat64(f float64, point int) float64
- func GetClkTck() float64
- func GetPageSize() float64
- func GetProcessMemoryRSSKiloBytes(pid int) (float64, error)
- func GetProcessRunningState(pid int) (string, error)
- func IsZombieProcess(pid int) (bool, error)
- func ParseFloat64(val string) float64
- type Stat
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ClkTck = GetClkTck() PageSize = GetPageSize() )
Functions ¶
func CalculateCPUUtilization ¶
func FormatFloat64 ¶
func GetPageSize ¶
func GetPageSize() float64
func GetProcessMemoryRSSKiloBytes ¶ added in v0.7.0
func GetProcessRunningState ¶ added in v0.8.0
func IsZombieProcess ¶ added in v0.8.0
Types ¶
Click to show internal directories.
Click to hide internal directories.