On 7/13/2004 5:04 PM, Sara wrote:
I had a script for which my previous host cancelled my account saying it's a resource hog and using more than 50% resources of the server (shared hosting).
Yep, there were some faults in the script. I modified it and they restored the account.
But now I am looking for some script/subroutine within the script that can give me the CPU/resource usage when the script runs?
I have NO idea about it.
Can anyone help me with it?
Thanks in advance.
Have you tried profiling your code?
`perldoc Devel::DProf` `perldoc dprofpp`
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>