sb-memory: switch to gigibytes
This commit is contained in:
parent
e14394e54c
commit
a4c7137283
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
printf "%b" " "
|
||||
free --mega | sed -n '2{p;q}' | awk '{printf ("%2.2fG/%2.2fG\n", ($3 / 1000), ($2 / 1000))}'
|
||||
free -m | sed -n '2{p;q}' | awk '{printf ("%2.2fG/%2.2fG\n", ($3 / 1024), ($2 / 1024))}'
|
||||
|
|
Loading…
Reference in New Issue