httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Jackson" ...@anti-exe.com>
Subject SSI Question
Date Mon, 29 Jul 2002 20:49:44 GMT
I'm trying to get the command "top" to print to a webpage.  What I have
tried, thusfar, is...

<!--#exec cmd="top" -->
<!--#exec cmd="top -n 1" -->
<!--#exec cmd="top -s -n 1" -->
<!--#exec cmd="top -b -n 1" -->
and
<!--#exec cmd="top -n 1 > top.txt" -->
<!--#include virtual="top.txt" -->

For some reason, exec cmd won't allow top.  It does ls and ps axu just fine,
so it's working and, presumably, set up correctly.  The > top.txt doesn't
create the text file, either.  It's almost like exec cmd excludes top,
statically.

I have also tried putting "top -n 1 > top.txt" as a crontab, but it simply
creates a blank top.txt.  I'm baffled.
JJ


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message