summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.scripts/memory3
1 files changed, 3 insertions, 0 deletions
diff --git a/.scripts/memory b/.scripts/memory
new file mode 100755
index 0000000..9848458
--- /dev/null
+++ b/.scripts/memory
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+free --mebi | sed -n '2{p;q}' | awk '{printf ("%2.1fGB/16GB\n", ( $3 / 1024))}'