El lun., 17 ago. 2020 a las 13:02, Chris Murphy (<li...@colorremedies.com>)
escribió:

> On Mon, Aug 17, 2020 at 8:09 AM Sergio Belkin <seb...@gmail.com> wrote:
> >
> >
> >
> > El sáb., 15 ago. 2020 a las 21:46, Samuel Sieb (<sam...@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/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:

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.
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org

Reply via email to