Explorar o código

corrected cache details

Daniel Gibbs %!s(int64=8) %!d(string=hai) anos
pai
achega
4ae143afba
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lgsm/functions/info_distro.sh

+ 1 - 1
lgsm/functions/info_distro.sh

@@ -83,7 +83,7 @@ if [ -n "${oldfree}" ]; then
 	physmemcached="n/a"
 else
 	physmemavailable=$(free ${humanreadable} | awk '/Mem:/ {print $7}')
-	physmemcached=$(free ${humanreadable} | awk '/Mem:/ {print $5}')
+	physmemcached=$(free ${humanreadable} | awk '/Mem:/ {print $6}')
 fi
 
 swaptotal=$(free ${humanreadable} | awk '/Swap:/ {print $2}')