diff --git a/neofetch b/neofetch index e5421b88..f4262e10 100755 --- a/neofetch +++ b/neofetch @@ -1410,7 +1410,7 @@ getmemory () { "BSD") memtotal=$(($(sysctl -n hw.physmem) / 1024 / 1024)) - memfree=$(($(vmstat | awk 'END{printf $4}') / 1000)) + memfree=$(($(vmstat | awk 'END{printf $5}') / 1024)) memused=$((memtotal - memfree)) ;; esac