sysinfo

package
v0.0.0-...-046479b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2015 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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.NetworkStats, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL