Re: [PHP] Php script diagnostic app?

2007-06-25 Thread William Lovaton
If you have little knowledge about C you can use sysprof on a relatively new Linux distribution and you can see on a live system where the CPU is consumed the most. [] http://www.daimi.au.dk/~sandmann/sysprof/ [] http://live.gnome.org/Sysprof With a little help of Google you can map C functions t

Re: [PHP] Php script diagnostic app?

2007-06-18 Thread Guillaume Theoret
Thanks a lot for that post Paul. It brings up a question though. You said to never ever use that on a production server (an important disclaimer!) so I was wondering what people here used to log and simulate loads. I've used OpenSTA ( http://opensta.org/ ) and I was pleased with the results but i

Re: [PHP] Php script diagnostic app?

2007-06-17 Thread Paul Scott
On Mon, 2007-06-18 at 06:39 +0200, Paul Scott wrote: > If you would like a more detailed HOWTO, please let me know, and I will > write up something for you. http://fsiu.uwc.ac.za/index.php?module=blog&action=viewsingle&postid=gen9Srv59Nme5_9262_1182142431&userid=3897070607 --Paul All Email orig

Re: [PHP] Php script diagnostic app?

2007-06-17 Thread Paul Scott
On Sun, 2007-06-17 at 13:53 -0400, Robert Cummings wrote: > I believe there are profiling tools... probably from Zend. How big is I prefer using XDEBUG, which is totally free. You can install it from the pecl repositories: pecl install xdebug Then, you simply install it as an extension on your d

Re: [PHP] Php script diagnostic app?

2007-06-17 Thread Daniel Brown
On 6/17/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Sun, 2007-06-17 at 13:35 -0400, MIKE YRABEDRA wrote: > > I was wondering if there was some kind of application that would process a > php script, logging any functions (or classes) it encounters along the way. > Logging times and memory us

Re: [PHP] Php script diagnostic app?

2007-06-17 Thread Robert Cummings
On Sun, 2007-06-17 at 13:35 -0400, MIKE YRABEDRA wrote: > > I was wondering if there was some kind of application that would process a > php script, logging any functions (or classes) it encounters along the way. > Logging times and memory use. > > I am trying to figure out what in a script slows

[PHP] Php script diagnostic app?

2007-06-17 Thread MIKE YRABEDRA
I was wondering if there was some kind of application that would process a php script, logging any functions (or classes) it encounters along the way. Logging times and memory use. I am trying to figure out what in a script slows it down so much. Any ideas? -- Mike Yrabedra B^)> -- PHP Gen