mem

package
v0.0.0-...-cb82286 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mem

type Mem struct {
	Procs        uint16
	TotalMem     uint64
	TotalHighMem uint64
	FreeMem      uint64
	FreeHighMem  uint64
	AvailMem     uint64
	UsedMem      uint64
	TotalUsedMem uint64
	BufferMem    uint64
	CachedMem    uint64
	SharedMem    uint64
	TotalSwap    uint64
	FreeSwap     uint64
	UsedSwap     uint64
	TotalUsed    uint64
	F            fetchFunc
}

func New

func New() (*Mem, error)

func (*Mem) AvailMemInGibibytes

func (m *Mem) AvailMemInGibibytes() float64

func (*Mem) AvailMemInKibibytes

func (m *Mem) AvailMemInKibibytes() float64

func (*Mem) AvailMemInMebibytes

func (m *Mem) AvailMemInMebibytes() float64

func (*Mem) BufferMemInGibibytes

func (m *Mem) BufferMemInGibibytes() float64

func (*Mem) BufferMemInKibibytes

func (m *Mem) BufferMemInKibibytes() float64

func (*Mem) BufferMemInMebibytes

func (m *Mem) BufferMemInMebibytes() float64

func (*Mem) CachedMemInGibibytes

func (m *Mem) CachedMemInGibibytes() float64

func (*Mem) CachedMemInKibibytes

func (m *Mem) CachedMemInKibibytes() float64

func (*Mem) CachedMemInMebibytes

func (m *Mem) CachedMemInMebibytes() float64

func (*Mem) Fetch

func (m *Mem) Fetch() error

Fetch updates the Mem struct woth new values

func (*Mem) FreeHighMemInGibibytes

func (m *Mem) FreeHighMemInGibibytes() float64

func (*Mem) FreeHighMemInKibibytes

func (m *Mem) FreeHighMemInKibibytes() float64

func (*Mem) FreeHighMemInMebibytes

func (m *Mem) FreeHighMemInMebibytes() float64

func (*Mem) FreeMemInGibibytes

func (m *Mem) FreeMemInGibibytes() float64

func (*Mem) FreeMemInKibibytes

func (m *Mem) FreeMemInKibibytes() float64

func (*Mem) FreeMemInMebibytes

func (m *Mem) FreeMemInMebibytes() float64

func (*Mem) FreeSwapInGibibytes

func (m *Mem) FreeSwapInGibibytes() float64

func (*Mem) FreeSwapInKibibytes

func (m *Mem) FreeSwapInKibibytes() float64

func (*Mem) FreeSwapInMebibytes

func (m *Mem) FreeSwapInMebibytes() float64

func (*Mem) SharedMemInGibibytes

func (m *Mem) SharedMemInGibibytes() float64

func (*Mem) SharedMemInKibibytes

func (m *Mem) SharedMemInKibibytes() float64

func (*Mem) SharedMemInMebibytes

func (m *Mem) SharedMemInMebibytes() float64

func (*Mem) TotalHighMemInGibibytes

func (m *Mem) TotalHighMemInGibibytes() float64

func (*Mem) TotalHighMemInKibibytes

func (m *Mem) TotalHighMemInKibibytes() float64

func (*Mem) TotalHighMemInMebibytes

func (m *Mem) TotalHighMemInMebibytes() float64

func (*Mem) TotalMemInGibibytes

func (m *Mem) TotalMemInGibibytes() float64

func (*Mem) TotalMemInKibibytes

func (m *Mem) TotalMemInKibibytes() float64

func (*Mem) TotalMemInMebibytes

func (m *Mem) TotalMemInMebibytes() float64

func (*Mem) TotalSwapInGibibytes

func (m *Mem) TotalSwapInGibibytes() float64

func (*Mem) TotalSwapInKibibytes

func (m *Mem) TotalSwapInKibibytes() float64

func (*Mem) TotalSwapInMebibytes

func (m *Mem) TotalSwapInMebibytes() float64

func (*Mem) TotalUsedInGibibytes

func (m *Mem) TotalUsedInGibibytes() float64

func (*Mem) TotalUsedInKibibytes

func (m *Mem) TotalUsedInKibibytes() float64

func (*Mem) TotalUsedInMebibytes

func (m *Mem) TotalUsedInMebibytes() float64

func (*Mem) TotalUsedMemInGibibytes

func (m *Mem) TotalUsedMemInGibibytes() float64

func (*Mem) TotalUsedMemInKibibytes

func (m *Mem) TotalUsedMemInKibibytes() float64

func (*Mem) TotalUsedMemInMebibytes

func (m *Mem) TotalUsedMemInMebibytes() float64

func (*Mem) UsedMemInGibibytes

func (m *Mem) UsedMemInGibibytes() float64

func (*Mem) UsedMemInKibibytes

func (m *Mem) UsedMemInKibibytes() float64

func (*Mem) UsedMemInMebibytes

func (m *Mem) UsedMemInMebibytes() float64

func (*Mem) UsedSwapInGibibytes

func (m *Mem) UsedSwapInGibibytes() float64

func (*Mem) UsedSwapInKibibytes

func (m *Mem) UsedSwapInKibibytes() float64

func (*Mem) UsedSwapInMebibytes

func (m *Mem) UsedSwapInMebibytes() float64

Jump to

Keyboard shortcuts

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