package
0.52.1
Repository: https://github.com/google/cadvisor.git
Documentation: pkg.go.dev

# Functions

GetClockSpeed returns the CPU clock speed, given a []byte formatted as the /proc/cpuinfo file.
GetCPUVendorID returns "vendor_id" reading /proc/cpuinfo file.
GetMachineMemoryByType returns information about memory capacity and number of DIMMs.
GetMachineMemoryCapacity returns the machine's total memory from /proc/meminfo.
GetMachineSwapCapacity returns the machine's total swap from /proc/meminfo.
GetPhysicalCores returns number of CPU cores reading /proc/cpuinfo file or if needed information from sysfs cpu path.
GetSockets returns number of CPU sockets reading /proc/cpuinfo file or if needed information from sysfs cpu path.
GetTopology returns CPU topology reading information from sysfs.