for file in /proc/*/status ; do awk '/VmSwap|Name/{printf $2 " " $3}END{ print ""}' $file; done | sort -k 2 -n -r | less
          Last active
          August 17, 2018 01:50 
        
      - 
      
 - 
        
Save deviousway/21cf885e5c605e98a6b16db1b231e49b to your computer and use it in GitHub Desktop.  
    Listing all process swap space usage sorted
  
        
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment