Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiskStatsCopy ¶
func DiskStatsCopy(blkio_stats []cgroups.BlkioStatEntry) (stat []info.PerDiskStats)
func DiskStatsCopy0 ¶
func DiskStatsCopy0(major, minor uint64) *info.PerDiskStats
func DiskStatsCopy1 ¶
func DiskStatsCopy1(disk_stat map[DiskKey]*info.PerDiskStats) []info.PerDiskStats
Types ¶
type CgroupSubsystems ¶
type CgroupSubsystems struct { // Cgroup subsystem mounts. // e.g.: "/sys/fs/cgroup/cpu" -> ["cpu", "cpuacct"] Mounts []cgroups.Mount // Cgroup subsystem to their mount location. // e.g.: "cpu" -> "/sys/fs/cgroup/cpu" MountPoints map[string]string }
func GetAllCgroupSubsystems ¶ added in v0.33.0
func GetAllCgroupSubsystems() (CgroupSubsystems, error)
Get information about all the cgroup subsystems.
func GetCgroupSubsystems ¶
func GetCgroupSubsystems(includedMetrics container.MetricSet) (CgroupSubsystems, error)
Get information about the cgroup subsystems those we want
type Handler ¶ added in v0.30.0
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶ added in v0.30.0
func (*Handler) GetProcesses ¶ added in v0.30.0
Click to show internal directories.
Click to hide internal directories.