how to send control-break or ctrl-c signal to a background process?

From: walala (mizhael_at_yahoo.com)
Date: 09/28/03


Date: Sat, 27 Sep 2003 21:03:01 -0500

Dear all,

I have sent a job to run in background... However I now want to gracefully
terminate it. This software has a good property that if I press
control-break, or ctrl-c, it will enter into a graceful termination mode
that it can still give me some partial useful information... so I don't want
to use "kill -9" to kill it...

instead, since it is run in background, I hope I can sent it a control-break
or ctrl-c signal then it can output some partial useful information to the
log file and then gracefully shutdown...

Can anybody help me on how to do that?

Thanks a lot,

-walala



Relevant Pages