Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintOsDependent ¶
func PrintOsDependent(s *LinuxStats, batchmode bool)
PrintOsDependent prints OS dependent statistics
Types ¶
type LinuxStats ¶
type LinuxStats struct {
// contains filtered or unexported fields
}
func RegisterOsDependent ¶
func RegisterOsDependent(m *metrics.MetricContext, step time.Duration, d *OsIndependentStats) *LinuxStats
RegisterOsDependent registers OS dependent statistics
type OsIndependentStats ¶
type OsIndependentStats struct { Cstat *cpustat.CPUStat Mstat *memstat.MemStat Procs *pidstat.ProcessStat }
OsIndependentStats must be implemented by all supported platforms
Click to show internal directories.
Click to hide internal directories.