diff --git a/fetch b/fetch index b6ae44a6..1401056d 100755 --- a/fetch +++ b/fetch @@ -643,7 +643,7 @@ getmemory () { memtotal=$(dmesg | awk '/real mem/ {printf $5}') memtotal=${memtotal/\(/} memtotal=${memtotal/)MB/} - memfree=$(top -d 1 | awk '/Real:/ {print $4}') + memfree=$(top -d 1 | awk '/Real:/ {print $6}') memfree=${memfree/M/} memused=$((memtotal - memfree))