Pārlūkot izejas kodu

corrected cache details

Daniel Gibbs 8 gadi atpakaļ
vecāks
revīzija
4ae143afba
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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}')