Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 376 Bytes

README.md

File metadata and controls

5 lines (3 loc) · 376 Bytes

main

memx returns the calling process' memory usage (private + shared) in kB. Linux-specific only.

It does this by reading PSS from /proc/{pid}/smaps[_rollup].