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

33 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


kill -KILL $PID

What would this do:

killall mprime

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


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