diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2019-09-25 17:44:39 +0300 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2019-09-25 17:44:39 +0300 |
| commit | b4bd81e9150b18c331b094590f49dbb2b61465f9 (patch) | |
| tree | 86b10113dd7644c8f20964a227a56884539de4ad | |
| parent | 223de3d82afd00381522e05d9c46b5daf4cef9a0 (diff) | |
| download | pfetch-b4bd81e9150b18c331b094590f49dbb2b61465f9.tar.gz | |
docs: update
| -rwxr-xr-x | pfetch | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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*) |
