From 06f0189845b205f2bc638d0015142e10f05a8a71 Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 16 Aug 2022 13:16:30 +0200 Subject: update --- .local/bin/status/sb-memory | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 .local/bin/status/sb-memory (limited to '.local/bin/status/sb-memory') diff --git a/.local/bin/status/sb-memory b/.local/bin/status/sb-memory new file mode 100755 index 0000000..79049cb --- /dev/null +++ b/.local/bin/status/sb-memory @@ -0,0 +1,3 @@ +#!/bin/sh + +sysctl -n hw.usermem hw.physmem | xargs | awk '{printf ("﬙ %2.2fGiB/%2.2fGiB\n", ($1 / (1024 ^ 3)), ($2 / (1024 ^ 3)))}' -- cgit v1.2.3