gopsutil: github.com/shirou/gopsutil/load Index | Files

package load

import "github.com/shirou/gopsutil/load"

Index

Package Files

load.go load_linux.go

type AvgStat Uses

type AvgStat struct {
    Load1  float64 `json:"load1"`
    Load5  float64 `json:"load5"`
    Load15 float64 `json:"load15"`
}

func Avg Uses

func Avg() (*AvgStat, error)

func (AvgStat) String Uses

func (l AvgStat) String() string

type MiscStat Uses

type MiscStat struct {
    ProcsRunning int `json:"procsRunning"`
    ProcsBlocked int `json:"procsBlocked"`
    Ctxt         int `json:"ctxt"`
}

func Misc Uses

func Misc() (*MiscStat, error)

Misc returnes miscellaneous host-wide statistics. Note: the name should be changed near future.

func (MiscStat) String Uses

func (m MiscStat) String() string

Package load imports 5 packages (graph) and is imported by 63 packages. Updated 2016-11-25. Refresh now. Tools for package owners.