Documentation ¶
Overview ¶
Package cpuload implements an i3bar module that shows load averages. Deprecated in favour of SysInfo, which can show more than just load average.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoadAvg ¶
type LoadAvg [3]float64
LoadAvg represents the CPU load average for the past 1, 5, and 15 minutes.
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
Module represents a cpuload bar module. It supports setting the output format, click handler, update frequency, and urgency/colour functions.
func (*Module) Output ¶
Output configures a module to display the output of a user-defined function.
func (*Module) RefreshInterval ¶
RefreshInterval configures the polling frequency for getloadavg.
Click to show internal directories.
Click to hide internal directories.