Documentation
¶
Index ¶
Constants ¶
View Source
const PIDMaxPath = "/proc/sys/kernel/pid_max"
View Source
const ProcPath = "/proc"
Variables ¶
This section is empty.
Functions ¶
func CountProcesses ¶
func ReadPIDMax ¶
ReadPIDMax returns the value of pid_max on the system
Types ¶
type ProcessesProbe ¶
func NewProcessesProbe ¶
func NewProcessesProbe(provider StatProvider) (*ProcessesProbe, error)
NewProcessesProbe provides insights into the number of processes
func (*ProcessesProbe) Analysis ¶
func (p *ProcessesProbe) Analysis() (observations []*analysis.Observation)
func (*ProcessesProbe) Display ¶
func (p *ProcessesProbe) Display() string
type StatProvider ¶
Click to show internal directories.
Click to hide internal directories.