Back to godoc.org

Package memory

v0.1.0
Latest Go to latest

The latest major version is .

Published: Nov 28, 2019 | License: Apache-2.0 | Module: github.com/mackerelio/go-osstat

Index

type Stats

type Stats struct {
	Total, Used, Buffers, Cached, Free, Available, Active, Inactive,
	SwapTotal, SwapUsed, SwapCached, SwapFree uint64
	MemAvailableEnabled bool
}

Stats represents memory statistics for linux

func Get

func Get() (*Stats, error)

Get memory statistics

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier