MCPcopy Create free account
hub / github.com/prometheus/procfs / VirtualMemory

Method VirtualMemory

proc_stat.go:214–216  ·  view source on GitHub ↗

VirtualMemory returns the virtual memory size in bytes.

()

Source from the content-addressed store, hash-verified

212
213// VirtualMemory returns the virtual memory size in bytes.
214func (s ProcStat) VirtualMemory() uint {
215 return s.VSize
216}
217
218// ResidentMemory returns the resident memory size in bytes.
219func (s ProcStat) ResidentMemory() int {

Callers 1

Calls

no outgoing calls

Tested by 1