Created
August 9, 2021 09:31
-
-
Save vbogretsov/e203e2f8d8124513637e355e973ef2e4 to your computer and use it in GitHub Desktop.
Get total memory on a linux host
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 | grep Mem | awk '{print $2}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment