how to send control-break(ctrl-c) signal to a background process?
From: walala (mizhael_at_yahoo.com)
Date: 09/28/03
- Next message: Pat LaVarre: "Re: an editable history for every stdin"
- Previous message: Pat LaVarre: "Re: an editable history for every stdin"
- Next in thread: those who know me have no need of my name: "Re: how to send control-break(ctrl-c) signal to a background process?"
- Reply: those who know me have no need of my name: "Re: how to send control-break(ctrl-c) signal to a background process?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 27 Sep 2003 21:02:26 -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
- Next message: Pat LaVarre: "Re: an editable history for every stdin"
- Previous message: Pat LaVarre: "Re: an editable history for every stdin"
- Next in thread: those who know me have no need of my name: "Re: how to send control-break(ctrl-c) signal to a background process?"
- Reply: those who know me have no need of my name: "Re: how to send control-break(ctrl-c) signal to a background process?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|