Hi, Shouldn't be to hard. It depends on which way you are comfortable with ie security, no hacking ....
You could rewrite/modify syswatch.c to run the command on a remote machine via ssh ( not good as you web server has remote shell access to your other servers), or have the perl script run via cron on the servers and send the results to the web server. You may also want to look at ganglia and/or PIKT. ganglia does not display 'top' output, but does display a lot of ther stats. PIKT does not hav a web interface, but does have the ablility to run a script for a given condition. Cheers, Dave. Dave van Leeuwen Analyst Programmer University of Canterbury New Zealand On Wed, 7 Jul 2004, G Chinnery wrote: > I have a small cgi script called syswatch > (http://syswatch.sourceforge.net) that I have running nicely on my web > server. > I have tried to get info from the list for this program but it seems > dead so i thought I would ask my question here. > > I would like to know how I can run this cgi so it will gather the > required data from other servers on my local network and display it on > my web page. > > Thanks for any help. > > G.Chinnery. > > >
