Atoptool / atop

System and process monitor for Linux
GNU General Public License v2.0
789 stars 110 forks source link

Support splitted PSS components (anon, file, and shmem) #257

Open ShirleyFei opened 1 year ago

ShirleyFei commented 1 year ago

According to [1], Linux kernel has reported separate components (anon, file, and shmem) for PSS in smaps_rollup. This helps understand and tune the memory manager behavior in consumer devices.

Thus collect and show these three indicators for per process:

[1]http://lkml.kernel.org/r/20190626234333.44608-1-semenzato@chromium.org

natoscott commented 1 year ago

@ShirleyFei in more recent kernels there's also a new Pss_Dirty row in smaps_rollup, might be a useful addition here.