NordicHPC / sonar

Tool to profile usage of HPC resources by regularly probing processes using ps.
GNU General Public License v3.0
8 stars 5 forks source link

Fix #126 - report resident memory #133

Closed lars-t-hansen closed 8 months ago

lars-t-hansen commented 8 months ago

Four patches in this queue but only the last one (Compute resident memory) should have any drama, the others are cleanup that became necessary/desirable. Probably worth mentioning that the "Refactor memtotal" patch adds an output field for RAM installed (to complement the core count field) and increases the version number to 0.8.0.

For resident memory, I currently go for the RssAnon fields of /proc/pid/status (and the drs field of the ps output, which is somewhat closely related), and the output field is called "rssanon". Should we choose to print more fields or other fields we can then name them precisely. This is better than having a definition that shifts or a name that is easy to misinterpret.

bast commented 8 months ago

Thank you very much!