From 6107b29f50872730349a51866486c1d41648a9a4 Mon Sep 17 00:00:00 2001 From: Dylan Date: Mon, 18 Jan 2016 16:26:18 +1100 Subject: [PATCH] Fix memory on FreeBSD --- fetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fetch b/fetch index 3ac8ab39..fb90dc75 100755 --- a/fetch +++ b/fetch @@ -629,7 +629,7 @@ getmemory () { *"BSD") memtotal=$(dmesg | awk '/real mem/ {printf $5}') - memused=$(top -1 1 | awk '/Real:/ {print $3}') + memused=$(top -d1 | awk '/Real:/ {print $3}') memtotal=${memtotal/()MB/} memused=${memused/M/} memory="${memused}MB / ${memtotal}MB"