Killing staprun/stapio cleanly from another process

Frank Ch. Eigler fche@redhat.com
Mon Sep 17 19:15:00 GMT 2007


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



More information about the Systemtap mailing list