How to stop /usr/lib/sendmail -bd -q15m in Solaris 10

How to stop sendmail service irritates us by consuming all most all the CPU 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
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 

1 comments to "How to stop /usr/lib/sendmail -bd -q15m in Solaris 10"

  • You might want to grep for sendmail in the command above: ps -eaf | grep sendmail | awk -F" " '{print $2}' |xargs kill -9

Post a Comment

Who ever writes Inappropriate/Vulgar comments to context, generally want to be anonymous …So I hope U r not the one like that?
For lazy logs u can at least use Name/URL option which don’t even require any sign-in, good thing is that it can accept your lovely nick name also and URL is not mandatory too.
Thanks for your patience
~Krishna(I love "Transparency")
వీలయితే నాల్గు పోస్టులు ...కుదురితే ఒక కామెంటూ ...


Enter your email address:

Buffs ...


hits counter
View My StatsCheck Google Page Rank

Add to Google Reader or Homepage

Bookmark and Share


Powered by WidgetsForFree