Skip to content

flowerinthenight/memx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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].