From b4bd81e9150b18c331b094590f49dbb2b61465f9 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 25 Sep 2019 17:44:39 +0300 Subject: [PATCH] docs: update --- pfetch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pfetch b/pfetch index c21f030..fa34aa1 100755 --- a/pfetch +++ b/pfetch @@ -443,12 +443,12 @@ get_memory() { vm.stats.vm.v_cache_count) } - # Calculate the amount of free memory. + # Calculate the amount of used memory. # $1: hw.pagesize # $2: vm.stats.vm.v_inactive_count # $3: vm.stats.vm.v_free_count # $4: vm.stats.vm.v_cache_count - mem_free=$((($2 + $3 + $4) * $1 / 1024 / 1024)) + mem_used=$((($2 + $3 + $4) * $1 / 1024 / 1024)) ;; NetBSD*)