I would like to somehow direct sar output and read it on a web
browser. I have a solaris 8 box and want to check cpu stats. Does
anyone know or have suggestions about this?
Thanks
|
|
0
|
|
|
|
Reply
|
csross (13)
|
3/29/2007 12:04:26 AM |
|
In article <1175126666.692245.26150@y80g2000hsf.googlegroups.com>,
csross@optonline.net wrote:
> I would like to somehow direct sar output and read it on a web
> browser. I have a solaris 8 box and want to check cpu stats. Does
> anyone know or have suggestions about this?
>
> Thanks
What research have you done on this? Have you looked for various CGI
scripts or maybe even setup PHP to run on the system you want to do this
on? You'll need to setup a web server, php or java, and sar on all the
machines you want do this on in order to create this sort of
environment. Or you could run sar, collect the data on each machine,
and forward it to a single machine which you can use to format and
browse it via a web server.
Unless you know how to do CGI or PHP or design web pages, this will
require a lot of reading. The O'Reilly library has lots of books on
this or you could find some you like and read those.
Did some PHB gave you this assignment? It's not trivial and has
security implications. I don't recall if sar will run without root
access but if it can't you'll have to code this in two parts--a part
that collects the data and outputs it as root and another that formats
it and displays it via the web.
It would be a nice project. Have fun.
--
DeeDee, don't press that button! DeeDee! NO! Dee...
|
|
0
|
|
|
|
Reply
|
Michael
|
3/29/2007 8:23:47 AM
|
|
I did once creat a central server which used scp to copy the sar entries
from each server and then put some info from them into a mysql database and
from there dispplayed on a web page in graphical form. Was really fantastic
for seeing cpu and memory utilisation over time
George
|
|
0
|
|
|
|
Reply
|
george2
|
3/29/2007 3:55:27 PM
|
|