sysinfo

package
v0.4.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrPlatformNotSupported = errors.New("this operation is not supported on your platform")

Functions

This section is empty.

Types

type DiskStats

type DiskStats struct {
	Free   uint64
	Total  uint64
	FsType string
}

func DiskUsage

func DiskUsage(path string) (*DiskStats, error)

type MemStats

type MemStats struct {
	Swap uint64
	Used uint64
}

func MemoryInfo

func MemoryInfo() (*MemStats, error)

Jump to

Keyboard shortcuts

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