Pages

Saturday, June 24, 2017

devops per process swap usage

devops per process swap usage


awk /Name/{name=$2}; /VmSwap/{printf "%20s %s %s ",name,$2,$3}END{ print ""} /proc/*/status

inspired from: adnans

Output:
     chromium-browse 19664 kB
     chromium-browse 6128 kB
        avahi-daemon 320 kB
        avahi-daemon 220 kB
              colord 644 kB
                smbd 840 kB

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.