Created
July 6, 2011 14:51
-
-
Save DAddYE/1067414 to your computer and use it in GitHub Desktop.
PS with same output on darwin and unix
This file contains hidden or 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
# There is a better way to separate output with \t? | |
ps axo pid,rss,pcpu,command | grep -vE "^USER|grep" | awk '{print $1"\t"$2"\t"$3"\t"$4" "$5" "$6}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment