shell script to send a mail

Hi,

I need a shell script which runs in the backround for all the 24 hours and send a mail to us regarding the output of the prstat command when the load average increase above certain percent.

kindly help me on this......

What have you started to write?
What is the sample output from the command?
-- and the threshold?

Take a look at:

as it links to more info on prstat