tazpanel diff index.cgi @ rev 152
hardware.cgi: add free with colors and also add colors to top
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 18 03:44:20 2011 +0200 (2011-04-18) |
parents | 111fadde51fc |
children | ed55f0e369b3 |
line diff
1.1 --- a/index.cgi Sun Apr 17 13:23:15 2011 +0200 1.2 +++ b/index.cgi Mon Apr 18 03:44:20 2011 +0200 1.3 @@ -101,7 +101,9 @@ 1.4 TITLE="- $(gettext "Process activity")" 1.5 xhtml_header 1.6 echo '<pre>' 1.7 - top -n1 -b 1.8 + top -n1 -b | sed \ 1.9 + -e s"#^[A-Z].*:\([^']\)#<span class='sh-comment'>\0</span>#"g \ 1.10 + -e s"#PID.*\([^']\)#<span class='top'>\0</span>#"g 1.11 echo '</pre>' ;; 1.12 *\ debug\ *) 1.13 TITLE="- Debug"