Created
August 5, 2015 21:17
-
-
Save ibejohn818/f1e9a663f84ba7f5912e to your computer and use it in GitHub Desktop.
bash: show memory usage
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
free -m | awk 'NR==2{printf "Memory Usage: %s/%sMB (%.2f%)\n", $3,$2,$3*100/$2 }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment