summaryrefslogtreecommitdiff
path: root/sb-ram
diff options
context:
space:
mode:
Diffstat (limited to 'sb-ram')
-rwxr-xr-xsb-ram7
1 files changed, 7 insertions, 0 deletions
diff --git a/sb-ram b/sb-ram
new file mode 100755
index 0000000..7033cbb
--- /dev/null
+++ b/sb-ram
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# colum of free -h v
+ram_used="$(free -h | awk '(NR==2){print $3}')"
+# row from free -h ^
+
+echo "$ram_used"