I don't have access to Solaris 9, but I'd write script in ksh (or possibly Perl; my normal weapon of choice for stuff like this) & parse the output from top or prstat & possibly swap cmd
http://www.softpanorama.org/Solaris/...nagement.shtml.
If it exceeds your specified threshold(s), send an email.
You may want to ask the mods (via the Report button) to move this to the Solaris forum.