On 8/17/20 12:00 PM, Chris Murphy wrote:
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

From smem source, it's totaling up the "Swap:" lines from /proc/pid/smaps

https://selenic.com/repo/smem/file/tip/smem#l35

--
Andrew Schultz
ajschult...@gmail.com
_______________________________________________
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