Last active
August 29, 2015 14:02
-
-
Save fprimex/99a335191c53095973ca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(pgrep moxi; pgrep beam.smp; pgrep memcached; pgrep couch_compact; pgrep sigar_port ; pgrep godu) | xargs -n1 -- sh -c 'echo $1; cat /proc/$1/status; cat /proc/$1/limits; cat /proc/$1/smaps; cat /proc/$1/numa_maps; echo' -- | awk '/Name:/,/Swap/' $i | grep -e Name -e Swap |awk '{print $2, $3}' | paste -s -d ' \n' - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment