MCPcopy Create free account
hub / github.com/KmBase/ScienceReading / virtual_memory

Function virtual_memory

embedded/site-packages/psutil/_pslinux.py:418–548  ·  view source on GitHub ↗

Report virtual memory stats. This implementation mimics procps-ng-3.3.12, aka "free" CLI tool: https://gitlab.com/procps-ng/procps/blob/ 24fd2605c51fccc375ab0287cec33aa767f06718/proc/sysinfo.c#L778-791 The returned values are supposed to match both "free" and "vmstat -s" CLI

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 9

open_binaryFunction · 0.85
get_procfs_pathFunction · 0.85
calculate_avail_vmemFunction · 0.85
usage_percentFunction · 0.85
splitMethod · 0.45
appendMethod · 0.45
getMethod · 0.45
joinMethod · 0.45
warnMethod · 0.45

Tested by

no test coverage detected