Back to

Package memory

Latest Go to latest

The latest major version is .

Published: Nov 28, 2019 | License: Apache-2.0 | Module:


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