Script execution time.

2005-08-03 Thread Sara
I have to test/optimize a script on a shared server. The script contains a couple of mySQL queries etc. Is there a way that I can see the query execution time (like in phymyAdmin) and total script execution time, plus memory & CPU usage? There are a lot of ways doing it in PHP but nothing in PE

Re: Script execution time.

2005-08-03 Thread Chris Devers
On Wed, 3 Aug 2005, Sara wrote: > I have to test/optimize a script on a shared server. The script > contains a couple of mySQL queries etc. > > Is there a way that I can see the query execution time (like in > phymyAdmin) and total script execution time, plus memory & CPU usage? > There are a

Re: Script execution time.

2005-08-03 Thread Jay Savage
On 8/3/05, Chris Devers <[EMAIL PROTECTED]> wrote: > On Wed, 3 Aug 2005, Sara wrote: > > > I have to test/optimize a script on a shared server. The script > > contains a couple of mySQL queries etc. > > > > Is there a way that I can see the query execution time (like in > > phymyAdmin) and total s

Re: Script execution time.

2005-08-03 Thread Wiggins d'Anconia
zentara wrote: > On Wed, 3 Aug 2005 03:00:01 -0700, [EMAIL PROTECTED] (Sara) wrote: > > >>I have to test/optimize a script on a shared server. The script contains a >>couple of mySQL queries etc. >> >>Is there a way that I can see the query execution time (like in phymyAdmin) >>and total script

How do I make two different web pages come up from one CGI?

2005-08-03 Thread Luinrandir
The following does not work #!/usr/bin/perl use strict; print qq|Content-type: text/html\n\n|; print qq|Seneschals Report|; print qq|1|; print qq||; print qq|Content-type: text/html\n\n|; print qq|Seneschals Report|; print qq|2|; print qq||; exit; -- To unsubscribe, e-mail: [EMAIL PROT

Re: How do I make two different web pages come up from one CGI?

2005-08-03 Thread Chris Devers
On Wed, 3 Aug 2005, Luinrandir wrote: > The following does not work Define "does not work". It seems to work for me: $ lynx -mime_header http://localhost/test.pl HTTP/1.1 200 OK Date: Thu, 04 Aug 2005 00:49:32 GMT Server: Apache/1.3.33 (Darwin) mod_perl/1.29 Connection: