1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00

health.sh tweak

git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@21 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
This commit is contained in:
cameronrich 2006-07-12 08:57:34 +00:00
parent 0a18ed7e9e
commit 5915029090

View File

@ -3,19 +3,13 @@
echo "Content-type: text/html" echo "Content-type: text/html"
echo echo
echo "<HTML>" echo "<HTML><TITLE>System Health</TITLE><BODY>"
echo "<TITLE>System Health</TITLE><BODY>"
echo "<H1>System Health for '`hostname`'</H1>" echo "<H1>System Health for '`hostname`'</H1>"
echo "<H2>Processes</H2>" echo "<H2>Processes</H2><TABLE BORDER=\"2\">"
echo "<TABLE BORDEr=\"2\">"
ps -ef | sed -e "s/\(.*\)/<tr><td>\1<\/td><\/tr>/" ps -ef | sed -e "s/\(.*\)/<tr><td>\1<\/td><\/tr>/"
echo "</TABLE>"
echo "<H2>Free FileSystem Space</H2>" echo "</TABLE><H2>Free FileSystem Space</H2>"
echo "<TABLE border=\"2\">" echo "<TABLE BORDER=\"2\">"
df -h . | sed -e "s/\(.*\)/<tr><td>\1<\/td><\/tr>/" df -h . | sed -e "s/\(.*\)/<tr><td>\1<\/td><\/tr>/"
echo "</TABLE>" echo "</TABLE></BODY></HTML>"
echo "</BODY></HTML>"