This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Killing staprun/stapio cleanly from another process
- From: Martin Hunt <hunt at redhat dot com>
- To: Mike Mason <mmlnx at us dot ibm dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: Thu, 13 Sep 2007 08:54:27 -0400
- Subject: Re: Killing staprun/stapio cleanly from another process
- Organization: Red Hat Inc.
- References: <46E85B9A.5080505@us.ibm.com>
On Wed, 2007-09-12 at 14:35 -0700, Mike Mason wrote:
> If I want to use staprun to run a pre-compiled script module,
> then want to kill it cleanly via a signal from another process,
> what's the best way to do that? I tried "kill -s SIGINT <staprun_pid>"
> and it didn't work, although the same command against the stapio pid
> does seem to work.
You should send signals to stapio.
Martin