pari: trunk r329 - /trunk/gui_configs/gui_sysinfo

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Thu Feb 8 14:13:12 MST 2007


Author: pari
Date: Thu Feb  8 15:13:12 2007
New Revision: 329

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=329
Log:
tweak: adding <PRE> in sysinfo_output.html 

Modified:
    trunk/gui_configs/gui_sysinfo

Modified: trunk/gui_configs/gui_sysinfo
URL: http://svn.digium.com/view/asterisk-gui/trunk/gui_configs/gui_sysinfo?view=diff&rev=329&r1=328&r2=329
==============================================================================
--- trunk/gui_configs/gui_sysinfo (original)
+++ trunk/gui_configs/gui_sysinfo Thu Feb  8 15:13:12 2007
@@ -15,16 +15,18 @@
 /bin/echo "<div id=si_hostname>$HOSTNAME</div>" >> /var/lib/asterisk/static-http/config/bkps/sysinfo_output.html
      
 IFCONFIG=`ifconfig`
-/bin/echo "<div id=si_ifconfig>$IFCONFIG</div>" >> /var/lib/asterisk/static-http/config/bkps/sysinfo_output.html
+/bin/echo "<div id=si_ifconfig><pre>$IFCONFIG</pre></div>" >> /var/lib/asterisk/static-http/config/bkps/sysinfo_output.html
                          
 DISKUSAGE=`df -h`
-/bin/echo "<div id=si_du>$DISKUSAGE</div>" >> /var/lib/asterisk/static-http/config/bkps/sysinfo_output.html
+/bin/echo "<div id=si_du><pre>$DISKUSAGE</pre></div>" >> /var/lib/asterisk/static-http/config/bkps/sysinfo_output.html
                         
 MEMORYUSAGE=`free`
-/bin/echo "<div id=si_free>$MEMORYUSAGE</div>" >> /var/lib/asterisk/static-http/config/bkps/sysinfo_output.html
+/bin/echo "<div id=si_free><pre>$MEMORYUSAGE</pre></div>" >> /var/lib/asterisk/static-http/config/bkps/sysinfo_output.html
 
 
 THISMONTH=`/bin/date +%b`
 THISDAY=`/bin/date +%d`
 THIS_DAY=`/bin/date +%_d`
 /bin/grep /var/log/asterisk/messages -e "$THISMONTH\( $THISDAY\| $THIS_DAY\)" > /var/lib/asterisk/static-http/config/bkps/today_log.html
+
+



More information about the asterisk-gui-commits mailing list