Documentation ¶
Overview ¶
Package loadavg tries to demistify the load averages on Linux Kernel implementation: https://github.com/torvalds/linux/blob/master/kernel/sched/loadavg.c Helpful blog post: https://www.brendangregg.com/blog/2017-08-08/linux-load-averages.html
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoadAverageProbe ¶
func NewLoadAverage ¶
func NewLoadAverage(p LoadAvgProvider) (*LoadAverageProbe, error)
NewLoadAverage reads the load average data and returns its representation
func (*LoadAverageProbe) Analysis ¶
func (la *LoadAverageProbe) Analysis() (observations []*analysis.Observation)
func (*LoadAverageProbe) Display ¶
func (la *LoadAverageProbe) Display() string
type LoadAvgProvider ¶
Click to show internal directories.
Click to hide internal directories.