package sysinfo

import "k8s.io/kubernetes/Godeps/_workspace/src/github.com/google/cadvisor/utils/sysinfo"

Index

Functions

func GetBlockDeviceInfo

func GetBlockDeviceInfo(sysfs sysfs.SysFs) (map[string]info.DiskInfo, error)

Get information about block devices present on the system. Uses the passed in system interface to retrieve the low level OS information.

func GetCacheInfo

func GetCacheInfo(sysFs sysfs.SysFs, id int) ([]sysfs.CacheInfo, error)

func GetNetworkDevices

func GetNetworkDevices(sysfs sysfs.SysFs) ([]info.NetInfo, error)

Get information about network devices present on the system.

func GetNetworkStats

func GetNetworkStats(name string) (info.InterfaceStats, error)

func GetSystemUUID

func GetSystemUUID(sysFs sysfs.SysFs) (string, error)

Source Files

sysinfo.go

Version
v1.1.4-beta.0
Published
Dec 7, 2015
Platform
linux/amd64
Imports
6 packages
Last checked
19 seconds ago

Tools for package owners.