![]() |
![]() |
#1 |
Apr 2010
33 Posts |
![]()
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 |
![]() |
![]() |
![]() |
#2 | |
A Sunny Moo
Aug 2007
USA (GMT-5)
3×2,083 Posts |
![]() Quote:
Sending a SIGKILL, on the other hand, would hard terminate the program and not let it save its progress since the last automatic checkpoint. |
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
mprime: how to stop exactly one worker (out of 2) | axn | Software | 7 | 2009-03-28 10:56 |
mprime and linux | Echoblade | Information & Answers | 3 | 2007-06-24 22:28 |
How to Compile mprime Under Linux | Blaise Pascal | Software | 12 | 2005-01-13 14:40 |
mprime RPM package for linux | gbvalor | Software | 15 | 2004-01-04 11:51 |
MPrime on Linux | optim | Software | 13 | 2003-12-06 04:27 |