Monitor SMTP processes


I was wondering if there is a script already created or some kind of tutorial that would guide me in the right direction.
I want to monitor the amount of SMTP processes on a particular server. Not just the SMTP session but because my server is taking such a long time to reply to a SMTP request, I would like to see the amount of smtp processes, or details.
Is it possible?
Thanks much in advance,


You can do it with:
check_procs --ereg-argument-array=smtp
and possible -w and -c arguments if you wish