summaryrefslogtreecommitdiff
path: root/.scripts
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2023-06-11 13:34:21 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2023-06-11 13:34:21 +0530
commit813776dc0d56a65ed7133eba238253d2797fa34a (patch)
treed21c901b6f855fca154a1a21434e60896e6a6978 /.scripts
parent4ab266220e5bfaeda9e708c840eec1a6cc2d1c1d (diff)
.scripts: Adding old memory script
Diffstat (limited to '.scripts')
-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))}'