docs: update

This commit is contained in:
Dylan Araps 2019-09-30 23:16:03 +03:00
parent d706ec7a01
commit 120e8a8760

9
pfetch
View File

@ -644,6 +644,15 @@ get_memory() {
SunOS)
hw_pagesize=$(pagesize)
# 'kstat' outputs memory in the following format:
# unix:0:system_pages:pagestotal 1046397
# unix:0:system_pages:pagesfree 885018
#
# This simply uses the first "element" (white-space
# separated) as the key and the second element as the
# value.
#
# A variable is then assigned based on the key.
while read -r key val; do
case $key in
*total) pages_full=$val ;;