Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FS ¶
type FS string
FS represents a pseudo-filesystem, normally /proc or /sys, which provides an interface to kernel data structures.
type NetStats ¶
type NetStats struct { config.PluginConfig DisableSummaryStats bool `toml:"disable_summary_stats"` DisableConnectionStats bool `toml:"disable_connection_stats"` TcpExt bool `toml:"tcp_ext"` IpExt bool `toml:"ip_ext"` // contains filtered or unexported fields }
func (*NetStats) Gather ¶
func (s *NetStats) Gather(slist *types.SampleList)
type Proc ¶
type Proc struct { // The process ID. PID int // contains filtered or unexported fields }
Proc provides information about a running process.
func (Proc) Netstat ¶
func (p Proc) Netstat() (*ProcNetstat, error)
type ProcNetstat ¶
type ProcNetstat struct { // The process ID. PID int TcpExt map[string]interface{} IpExt map[string]interface{} }
ProcNetstat models the content of /proc/<pid>/net/netstat.
Click to show internal directories.
Click to hide internal directories.