Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Process ¶
type Process struct {
// contains filtered or unexported fields
}
Process - identity and stats about resource usage of a process most values are simple counters; elapsedTime & cpuTotal are the exception: they are deltas
func NewProcess ¶
NewProcess - returns an initialized instance of Process if no process with *pid* exists, returns ErrProcessNotFound
func (*Process) CmdlineSlice ¶
CmdlineSlice - command-line slice of the process
type System ¶
type System struct {
// contains filtered or unexported fields
}
System - provides memory size and boot time of the system
type Unix ¶
type Unix struct { *collector.AbstractCollector // contains filtered or unexported fields }
Unix - collector providing basic stats about harvest pollers @TODO - extend to monitor any user-defined process
func (*Unix) HarvestModule ¶
func (u *Unix) HarvestModule() plugin.ModuleInfo
func (*Unix) Init ¶
func (u *Unix) Init(a *collector.AbstractCollector) error
Init - initialize the collector
Click to show internal directories.
Click to hide internal directories.