package load
import "github.com/shirou/gopsutil/load"
Index ¶
Types ¶
type AvgStat ¶
type AvgStat struct { Load1 float64 `json:"load1"` Load5 float64 `json:"load5"` Load15 float64 `json:"load15"` }
func Avg ¶
func (AvgStat) String ¶
type MiscStat ¶
type MiscStat struct { ProcsRunning int `json:"procsRunning"` ProcsBlocked int `json:"procsBlocked"` Ctxt int `json:"ctxt"` }
func Misc ¶
Misc returnes miscellaneous host-wide statistics. Note: the name should be changed near future.
func (MiscStat) String ¶
Source Files ¶
- Version
- v2.17.10+incompatible
- Published
- Oct 18, 2017
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 21 hours ago –
Tools for package owners.