Re: [PHP] CPU Usage

2005-08-11 Thread kalinga
with php you can simply create your own system monitoring classes using php snmp functions. mrtg (http://mrtg.org) uses SNMP to manipulate system MIBs and OIDs to retreave device informations. happy PHP SNMP! ~viraj. On 8/12/05, Evert | Rooftop <[EMAIL PROTECTED]> wrote: > Hi All, > > Is ther

Re: [PHP] CPU Usage

2005-08-11 Thread Patrick - Jupiter Hosting
Actually, yes there is :) Do a google for phpsysinfo - that's exactly what you want, I guarantee it :) Patrick On Thu, 2005-08-11 at 22:22 +0200, Evert | Rooftop wrote: > Hi All, > > Is there a way to determine the current cpu usage using PHP. I'm mainly > looking for a linux solution, but

[PHP] CPU Usage

2005-08-11 Thread Evert | Rooftop
Hi All, Is there a way to determine the current cpu usage using PHP. I'm mainly looking for a linux solution, but I would like to expand it to windows later on. Any ideas? The archives weren't any good =( Thanks, Evert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: ht

Re: [PHP] CPU usage @5% during 2 minutes SOLVED

2004-10-20 Thread Matt M.
> The thing was: > The new, 20 year old administrator guy set all clients to use the local > network via the proxy. And the proxy wasn't able to handle the approx. > 1,5MB huge web pages. good that the problem is solved. Not sure if you know or not but you could probably cut the size of the page

Re: [PHP] CPU usage @5% during 2 minutes

2004-10-20 Thread Greg Donald
On Wed, 20 Oct 2004 14:59:01 +0200, Janke Dávid <[EMAIL PROTECTED]> wrote: > HLP! In my experience the most common network slowdown issues involve overloaded isp DNS servers. I'd do a few nslookups and see how responsive their nameservers are. You can easily add 4-5 secon

Re: [PHP] CPU usage @5% during 2 minutes SOLVED

2004-10-20 Thread Janke Dávid
Hi all! After 2 weeks of sleepless nights and visiting the customer three times (once on saturday) the problem is solved. The thing was: The new, 20 year old administrator guy set all clients to use the local network via the proxy. And the proxy wasn't able to handle the approx. 1,5MB huge web pa

Re: [PHP] CPU usage @5% during 2 minutes

2004-10-20 Thread Janke Dávid
HLP! This becomes more and more strange. Aftar I was really happy, that the code runs fast again, the customer sent an e-mail that is still slow. So I logged in into his network and everything was ok for me, but when they tried to use the program, I still saw (using top), t

RE: [PHP] CPU usage @5% during 2 minutes

2004-10-20 Thread Janke Dávid
2004-10-20, sze keltezéssel 00:19-kor Ed Lazor ezt írta: > > >How any rows are you pulling from the database? > > aprrox. 12.000 but there are only around 50-100 new rows at a maximum > > within a day, and there were almost as many before the > > problem appeared. > > You're creating a form wit

Re: [PHP] CPU usage @5% during 2 minutes

2004-10-20 Thread Marek Kilimajer
Janke Dávid wrote: 2004-10-20, sze keltezéssel 00:19-kor Ed Lazor ezt írta: How any rows are you pulling from the database? aprrox. 12.000 but there are only around 50-100 new rows at a maximum within a day, and there were almost as many before the problem appeared. You're creating a form with o

Re: [PHP] CPU usage @5% during 2 minutes

2004-10-19 Thread raditha dissanayake
Janke Dávid wrote: Dear php list! I have a real big and strange problem I ran into few weeks ago. One of my clients complained, that the intranet software began to run very slow, almost unusable. Since then I have almost tried everything to get the thing work. Install xdebug. It will help you id

RE: [PHP] CPU usage @5% during 2 minutes

2004-10-19 Thread Janke Dávid
2004-10-20, sze keltezéssel 00:19-kor Ed Lazor ezt írta: > > >How any rows are you pulling from the database? > > aprrox. 12.000 but there are only around 50-100 new rows at a maximum > > within a day, and there were almost as many before the > > problem appeared. > > You're creating a form wit

RE: [PHP] CPU usage @5% during 2 minutes

2004-10-19 Thread Ed Lazor
> >How any rows are you pulling from the database? > aprrox. 12.000 but there are only around 50-100 new rows at a maximum > within a day, and there were almost as many before the > problem appeared. You're creating a form with over 12,000 options in a select statement? > > > >What's the very

RE: [PHP] CPU usage @5% during 2 minutes

2004-10-19 Thread Janke Dávid
2004-10-19, k keltezéssel 23:38-kor Jennifer Goodie ezt írta: > -- Original message from Janke Dávid : -- > > > The sample code (in seperate, this piece of code runs with normal speed, > > but it is this part which runs slowly when executed as a whole, > > everything els

RE: [PHP] CPU usage @5% during 2 minutes

2004-10-19 Thread Janke Dávid
>How any rows are you pulling from the database? aprrox. 12.000 but there are only around 50-100 new rows at a maximum within a day, and there were almost as many before the problem appeared. > >What's the very last part of the code: .$_OR?> There is a switch, some echoes and a db_close; > >H

RE: [PHP] CPU usage @5% during 2 minutes

2004-10-19 Thread Jennifer Goodie
-- Original message from Janke Dávid : -- > The sample code (in seperate, this piece of code runs with normal speed, > but it is this part which runs slowly when executed as a whole, > everything else is fast): > > > $sqlquery = "SELECT sh_Number, sh_Status FROM servi

RE: [PHP] CPU usage @5% during 2 minutes

2004-10-19 Thread Janke Dávid
The sample code (in seperate, this piece of code runs with normal speed, but it is this part which runs slowly when executed as a whole, everything else is fast): $sqlquery = "SELECT sh_Number, sh_Status FROM service_sheet ORDER BY sh_Number DESC"; $result = mysql_query($sqlquery)

RE: [PHP] CPU usage @5% during 2 minutes

2004-10-19 Thread Ed Lazor
> The most strange thing is, that the problem appeared at a > time, when no > changes to the program was made. > > ANYBODY RAN INTO SOME SIMILAR THING? I haven't run into this, but it'll be easier to help troubleshoot this if you could post sample code. Ed Lazor, President http://RPGStore.c

[PHP] CPU usage @5% during 2 minutes

2004-10-19 Thread Janke Dávid
Dear php list! I have a real big and strange problem I ran into few weeks ago. One of my clients complained, that the intranet software began to run very slow, almost unusable. Since then I have almost tried everything to get the thing work. The facts: On P3 architecture systems (I have tried 3,