/psm

Process Smaps Memory view

Primary LanguageZigMIT LicenseMIT

psm

Process Smaps Memory view

This programm collects metrics from /proc/<PID>/smaps_rollup, then aggregates these numbers.
Aggregation is performed by the binary name from the /proc/<PID>/exe link.
The last step is to pretty print the resulting numbers.

screenshot

image

Note: tests.zig - is just a copy paste in the course of my reading https://ziglearn.org