This is the mail archive of the
mailing list for the systemtap project.
Re: Killing staprun/stapio cleanly from another process
Frank Ch. Eigler wrote:
Mike Mason <firstname.lastname@example.org> 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