Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ExecCommand = exec.Command
Functions ¶
This section is empty.
Types ¶
type PIDFinder ¶
type Pgrep ¶
type Pgrep struct {
// contains filtered or unexported fields
}
Implemention of PIDGatherer that execs pgrep to find processes
type Process ¶
type Process interface {
PID() PID
Tags() map[string]string
IOCounters() (*process.IOCountersStat, error)
MemoryInfo() (*process.MemoryInfoStat, error)
Name() (string, error)
NumCtxSwitches() (*process.NumCtxSwitchesStat, error)
NumFDs() (int32, error)
NumThreads() (int32, error)
Percent(interval time.Duration) (float64, error)
Times() (*cpu.TimesStat, error)
RlimitUsage(bool) ([]process.RlimitStat, error)
}
Click to show internal directories.
Click to hide internal directories.