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 ..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 


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

Whoever 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 doesn’t even require any sign-in, The good thing is that it can accept your lovely nick name also and the URL is not mandatory too.
Thanks for your patience
~Krishna(I love "Transparency")

Popular Posts

Enter your email address:

Buffs ...

Tags


Powered by WidgetsForFree

Archives