On Linux, for each process, I can check /proc/PID/statm file.
It's numbers contain values of:
- Total program size, in kilobytes
- Size of memory portions, in kilobytes ??????
- Number of pages that are shared
Which is great, but how do I know how much is a page?