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 PERL/CGI? I searched CPAN but failed to find my desired requirements. Are there any system commands that can be executed within the script to get these values. TIA. Sara.