cadvisor: github.com/google/cadvisor/utils/cpuload Index | Files | Directories

package cpuload

import "github.com/google/cadvisor/utils/cpuload"

Index

Package Files

cpuload.go

type CpuLoadReader Uses

type CpuLoadReader interface {
    // Start the reader.
    Start() error

    // Stop the reader and clean up internal state.
    Stop()

    // Retrieve Cpu load for a given group.
    // name is the full hierarchical name of the container.
    // Path is an absolute filesystem path for a container under CPU cgroup hierarchy.
    GetCpuLoad(name string, path string) (info.LoadStats, error)
}

func New Uses

func New() (CpuLoadReader, error)

Directories

PathSynopsis
netlink
netlink/example

Package cpuload imports 4 packages (graph) and is imported by 129 packages. Updated 2020-05-01. Refresh now. Tools for package owners.