diff options
Diffstat (limited to 'bin/get_mem')
-rwxr-xr-x | bin/get_mem | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/get_mem b/bin/get_mem index 1709d75..fa2a453 100755 --- a/bin/get_mem +++ b/bin/get_mem @@ -3,6 +3,7 @@ set -euo pipefail IFS=$'\n\t' mem_output="" -mem_output="$(free -hm| grep "Mem:"| awk '{printf $3 "/" $2 " ("} {printf ("%1.3f", $3/$2)} {printf ")"}')" + +mem_output="$(free -m| grep "Mem:"| awk '{printf $3 "/" $2 " ("} {printf ("%1.3f", $3/$2)} {printf ")"}')" echo "$mem_output" |