On Thu, Jan 31, 2002 at 07:49:02AM -0000, Peter Kiem wrote: > Hi Ashwin, > > > I have a php based webmail program installed on Intranet and also > > planning to install on Cobalt servers.Can anyone tell me how do I find > > out the CPU consumption for this app on Internet as well as on Intranet > > Run the "top" program on your intranet server and look at how much CPU the > apache processes are using?
It would also be relatively easy to write a PHP script that either parses the output of 'top' or reads /proc itself, then serves the info to a webpage. If you're interested in that, but aren't sure how to accomplish it, send me a mail off-list...it would be an interesting project. (For a quicker solution, you could probably find a prewritten script on Freshmeat.) HTH, Ben -- Ben Logan: ben at wblogan dot net OpenPGP Key KeyID: A1ADD1F0 "Summit meetings tend to be like panda matings. The expectations are always high, and the results usually disappointing." -- Robert Orben _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list