Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I am running a Perl script that does alot of recursive find and replaces on my Solaris Ultra 250 server. I really want to know what you all use to monitor system resources when you run a Perl script on a web server. Here are the unix commands I am using to check:
ps -afe | grep truss -p 2345 --> 2345 is my process number vmstat 3 top
Please advise if all these are going to monitor my script and what specific numbers/columns I should be paying attention to? My script seems to be using about 90 to 95% of cpu.