For Programmers: Free Programming Magazines  


Home > Archive > PHP SQL > May 2005 > server load script









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author server load script
rico

2005-05-14, 3:59 pm

I need ah php script so i can see what the server/sql load is

in text or in graphic way

The script must let see the load in realtime

Some guys are reprogramming our site because our sql/serverload whas way to
high

thnx

rico




steve

2005-05-15, 8:56 pm

"rico" wrote:
> I need ah php script so i can see what the server/sql load is
>
> in text or in graphic way
>
> The script must let see the load in realtime
>
> Some guys are reprogramming our site because our
> sql/serverload whas way to
> high
>
> thnx
>
> rico


There may be better ways... but in Linux, you can do a system call to
’top’. I think top or equivalents allow batch runs. So just show the
output of that.

--
Posted using the http://www.dbforumz.com interface, at author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbforumz.com/PHP-SQL-ser...pict223475.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbforumz.com/eform.php?p=773032
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com