El lun., 17 ago. 2020 a las 13:02, Chris Murphy (<lists@xxxxxxxxxxxxxxxxx>) escribió:
On Mon, Aug 17, 2020 at 8:09 AM Sergio Belkin <sebelk@xxxxxxxxx> wrote:
>
>
>
> El sáb., 15 ago. 2020 a las 21:46, Samuel Sieb (<samuel@xxxxxxxx>) 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@xxxxxxxxxxxxxxxxxxxxxxx/message/NNGPG7IXSNG4NU7O3X7PVABWROAS32CN/
> --
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:
These scripts/programs are more updated that smem. I've tried python and bash examples and it seems to work fine.
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx