This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Killing staprun/stapio cleanly from another process
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).
If that doesn't work, then staprun should be changed to let it consume
signals.
- FChE