El lun., 17 ago. 2020 a las 13:02, Chris Murphy (lists@colorremedies.com) escribió:
On Mon, Aug 17, 2020 at 8:09 AM Sergio Belkin sebelk@gmail.com wrote:
El sáb., 15 ago. 2020 a las 21:46, Samuel Sieb (samuel@sieb.net)
escribió:
On 8/15/20 1:32 PM, Sergio Belkin wrote:
Nice, my only doubt is why smem and tools alike cannot show those processes using anon pages in swap...
I posted a bash command line in an earlier email that will give you that information. _______________________________________________
Samue, Are you talking about this:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/...
--
Yes.
I don't know what smem's Swap column is showing. It doesn't match /proc/pid/status -> VmSwap
sudo smem -t --sort swap
PID User Command Swap USS PSS RSS ... 31111 chris /usr/bin/gnome-shell 4912 119760 151274 238112
$ grep VmSwap /proc/31111/status VmSwap: 0 kB
More examples in different languages:
https://github.com/lilydjwg/swapview-rosetta
These scripts/programs are more updated that smem. I've tried python and bash examples and it seems to work fine.