diff options
author | Dave Brolley <brolley@redhat.com> | 2009-09-17 20:36:24 -0400 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2009-09-17 20:36:24 -0400 |
commit | 762684a57fa5420cc122b475f592545e8eeb29cd (patch) | |
tree | c1b55657f1aff31e7298d76852bbe8522a84db13 /staprun.8.in | |
parent | 8afee8bbf045e858dae186d40653293c99dbbcdd (diff) | |
parent | 6bde4f381475cea055352d8ad5f60bb2f24de21d (diff) | |
download | systemtap-steved-762684a57fa5420cc122b475f592545e8eeb29cd.tar.gz systemtap-steved-762684a57fa5420cc122b475f592545e8eeb29cd.tar.xz systemtap-steved-762684a57fa5420cc122b475f592545e8eeb29cd.zip |
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'staprun.8.in')
-rw-r--r-- | staprun.8.in | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/staprun.8.in b/staprun.8.in index 5fe2e7fa..5bf2ec61 100644 --- a/staprun.8.in +++ b/staprun.8.in @@ -138,6 +138,39 @@ To reattach to a kernel module, the .I staprun .B \-A option would be used. + +.SH FILE SWITCHING BY SIGNAL +After the +.I staprun +launched the +.I stapio +, users can command it to switch output file to next file when it +outputs to file(s) (running staprun with +.B \-o +option) by sending a +.B SIGUSR2 +signal to the +.I stapio +process. When it receives SIGUSR2, it will switch output file to +new file with suffix +.I .N +where N is the sequential number. +For example, +.PP +\& $ staprun \-o foo ... +.PP +outputs trace logs to +.I foo +and if it receives +.B SIGUSR2 +signal, it switches output to +.I foo.1 +file. And receiving +.B SIGUSR2 +again, it switches to +.I foo.2 +file. + .SH SAFETY AND SECURITY Systemtap is an administrative tool. It exposes kernel internal data structures and potentially private user information. See the |