View Single Post
Old 2010-04-15, 20:16   #1
odin
 
Apr 2010

1B16 Posts
Default How to gracefully stop mprime under linux

Hello All,

If I have mprime launched by an init script under Ubuntu linux at start up what is the best way to stop the program gracefully? I don't just want to terminate the processes but to have it stop all workers and do a file dump like it normally does and then quit.


Is it:

kill -HUP $PID

or

kill -KILL $PID


What would this do:

killall mprime

Would it stop mprime gracefully or would it do a hard terminate?

Thanks.

Last fiddled with by odin on 2010-04-15 at 20:16
odin is offline   Reply With Quote