slitaz-arm rev 95

Small fix to CGI/adm
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 12 12:30:13 2014 +0200 (2014-04-12)
parents 232f979c80ea
children e357535f1b91
files cgi-adm/tools.cgi
line diff
     1.1 --- a/cgi-adm/tools.cgi	Fri Apr 11 10:35:14 2014 +0200
     1.2 +++ b/cgi-adm/tools.cgi	Sat Apr 12 12:30:13 2014 +0200
     1.3 @@ -67,7 +67,7 @@
     1.4  CPU heat     : $(awk '{printf "%3.1f C\n", $1/1000}' /sys/class/thermal/thermal_zone0/temp)
     1.5  Processes    : $(ps | wc -l)
     1.6  Memory usage : ${mem_used_pct}%
     1.7 -CPU usage    : $(top -n 1 | fgrep CPU: | awk '{print $4}')
     1.8 +CPU usage    : $(top -n 1 | grep ^CPU: | awk '{print $4}')
     1.9  </pre>
    1.10  
    1.11  <div id="actions">