Discover Packages
github.com/lanixzcj/gopsutil
load
package
Version:
v2.19.11+incompatible
Opens a new window with list of versions in this module.
Published: Nov 27, 2019
License: BSD-3-Clause
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Index Constants Variables Functions Types type AvgStat type MiscStat Avg() AvgWithContext(ctx) (l) String() Misc() MiscWithContext(ctx) (m) String()
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
type AvgStat struct {
Load1 float64 `json:"load1"`
Load5 float64 `json:"load5"`
Load15 float64 `json:"load15"`
}
type MiscStat struct {
ProcsTotal int `json:"procsTotal"`
ProcsRunning int `json:"procsRunning"`
ProcsBlocked int `json:"procsBlocked"`
Ctxt int `json:"ctxt"`
}
Misc returnes miscellaneous host-wide statistics.
Note: the name should be changed near future.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.