How to stop sendmail service irritates us by consuming all most all the CPU ..by creating useless procees like

/usr/lib/sendmail -bd -q15m
 
So for time being if we are able to stop this service i.e sendmail service our CPU can be well used.
 
So to stop this process all we need to do is to just run the following command
 
bash-3.00# which svcadm
/usr/sbin/svcadm
bash-3.00#svcadm disable sendmail
bash-3.00#svccfg -s sendmail setprop config/local_only = true
bash-3.00# svcadm refresh sendmail
bash-3.00# svcadm restart sendmail

To kill the process of this type
 
ps -eaf | awk -F" " '{print $2}' |xargs  kill -9