From d9b47a1d2744d0c8f2a3f74ea3705b9d10916b5b Mon Sep 17 00:00:00 2001 From: William Cohen Date: Fri, 9 May 2008 16:36:13 -0400 Subject: Add syscalls_by_pid.meta, syscalls_by_proc.meta, sigmon.meta, sig_by_pid.meta, sig_by_proc.meta, and socket-trace.meta. --- testsuite/systemtap.examples/sigmon.meta | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 testsuite/systemtap.examples/sigmon.meta (limited to 'testsuite/systemtap.examples/sigmon.meta') diff --git a/testsuite/systemtap.examples/sigmon.meta b/testsuite/systemtap.examples/sigmon.meta new file mode 100644 index 00000000..18834997 --- /dev/null +++ b/testsuite/systemtap.examples/sigmon.meta @@ -0,0 +1,14 @@ +title: System-Wide Count of Syscalls by PID +name: syscalls_by_pid.stp +version: 1.0 +author: IBM +keywords: signals +subsystem: signals +status: experimental +exit: user-controlled +output: trace +scope: pid +description: The script watches for a particular signal sent to a specific process. When that signal is sent to the specified process, the script prints out the PID and executable of the process sending the signal, the PID and executable name of the process receiving the signal, and the signal number and name. +arg_1: The name of the signal to look for on selected process. +test_check: stap -p4 sigmon.stp SIGKILL +test_installcheck: stap sigmon.stp -c "sleep 1" SIGKILL -- cgit