Killing staprun/stapio cleanly from another process
Mike Mason
mmlnx@us.ibm.com
Mon Sep 17 20:43:00 GMT 2007
Frank Ch. Eigler wrote:
> Mike Mason <mmlnx@us.ibm.com> writes:
>
>> [...] So if I fork/exec staprun from a program, then want to kill
>> staprun/stapio from that same program, how can I do it? I only have
>> staprun's pid. [...]
>
> Try sending the signal to the process group (negative of staprun pid).
That works. Thanks!
> If that doesn't work, then staprun should be changed to let it consume
> signals.
>
> - FChE
More information about the Systemtap
mailing list