You can kill all processes on 'splunkd' with
kill `ps -ef | grep splunkd | egrep -v grep | awk '{print $2}'`
But, just like @esix_splunk mentioned, make sure you restart Splunk with the correct user and that, using Splunk's native commands to Start/Stop/Restart the service is much cleaner.
Mitesh.
Thank you very much.
I wanted absolutely compulsion stop.
Normally, you run the answer @ esix_splunk.
kenji.
@kobayashikenji I am bit curious to know about the purpose of force-stopping Splunk. 🙂
This works, make sure when you restart Splunk, you are using the correct user.
But why not do '/opt/splunk/splunk stop' or 'service splunk stop'
If not stop at Splunk command,
Because I want to compulsion stop.
Normally, will use the "splunk stop".
Answer Thank you very much.