package load
import "github.com/shirou/gopsutil/v3/load"
Index ¶
- type AvgStat
- func Avg() (*AvgStat, error)
- func AvgWithContext(ctx context.Context) (*AvgStat, error)
- func (l AvgStat) String() string
- type MiscStat
Types ¶
type AvgStat ¶
type AvgStat struct { Load1 float64 `json:"load1"` Load5 float64 `json:"load5"` Load15 float64 `json:"load15"` }
func Avg ¶
func AvgWithContext ¶
func (AvgStat) String ¶
type MiscStat ¶
type MiscStat struct { ProcsTotal int `json:"procsTotal"` ProcsCreated int `json:"procsCreated"` ProcsRunning int `json:"procsRunning"` ProcsBlocked int `json:"procsBlocked"` Ctxt int `json:"ctxt"` }
func Misc ¶
func MiscWithContext ¶
func (MiscStat) String ¶
Source Files ¶
- Version
- v3.22.10
- Published
- Oct 29, 2022
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 2 days ago –
Tools for package owners.