diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2023-06-11 13:34:21 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2023-06-11 13:34:21 +0530 |
commit | 813776dc0d56a65ed7133eba238253d2797fa34a (patch) | |
tree | d21c901b6f855fca154a1a21434e60896e6a6978 /.scripts | |
parent | 4ab266220e5bfaeda9e708c840eec1a6cc2d1c1d (diff) |
.scripts: Adding old memory script
Diffstat (limited to '.scripts')
-rwxr-xr-x | .scripts/memory | 3 |
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))}' |