aboutsummaryrefslogtreecommitdiff
path: root/Examples/sigdist_example.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/sigdist_example.txt')
-rw-r--r--Examples/sigdist_example.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/Examples/sigdist_example.txt b/Examples/sigdist_example.txt
new file mode 100644
index 000000000000..88b9df461f32
--- /dev/null
+++ b/Examples/sigdist_example.txt
@@ -0,0 +1,18 @@
+The following is a demonstration of the sigdist.d script.
+
+
+Here we run sigdist.d, and in another window we kill -9 a sleep process,
+
+ # ./sigdist.d
+ Tracing... Hit Ctrl-C to end.
+ ^C
+ SENDER RECIPIENT SIG COUNT
+ sched dtrace 2 1
+ sched bash 18 1
+ bash sleep 9 1
+ sched Xorg 14 55
+
+We can see the signal sent from bash to sleep. We can also see that Xorg
+has recieved 55 signal 14s. a "man -s3head signal" may help explain what
+signal 14 is (alarm clock).
+