Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cpu ¶
type Cpu struct { Name string // If the CPU loads exceeds these thresholds, they will be rendered in the // corresponding state. WarnThreshold float64 `json:"warn_threshold"` CritThreshold float64 `json:"crit_threshold"` // contains filtered or unexported fields }
Cpu is a small CPU load monitor. It scrapes /proc/loadavg to display your average # waiting threads over 1, 5 and 15 minute averages.
type CpuPerc ¶
type CpuPerc struct { // Name to identify this widget when receiving events Name string // If the CPU loads exceeds these thresholds, they will be rendered in the // corresponding state. WarnThreshold float64 CritThreshold float64 Interval time.Duration // contains filtered or unexported fields }
Cpu is a small CPU load monitor. It scrapes /proc/loadavg to display your average # waiting threads over 1, 5 and 15 minute averages.
Click to show internal directories.
Click to hide internal directories.