Skip to content

Instantly share code, notes, and snippets.

Created August 1, 2013 17:56
Show Gist options
  • Save anonymous/6133671 to your computer and use it in GitHub Desktop.
Save anonymous/6133671 to your computer and use it in GitHub Desktop.
Script para mostrar los procesos que ocupan la memoria SWAP en Linux
for file in /proc/*/status ; do awk '/VmSwap|Name/{printf $2 " " $3}END{ print ""}' $file; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment