aboutsummaryrefslogtreecommitdiff
path: root/Examples/sigdist_example.txt
diff options
context:
space:
mode:
authorGeorge V. Neville-Neil <gnn@FreeBSD.org>2012-05-12 20:38:18 +0000
committerGeorge V. Neville-Neil <gnn@FreeBSD.org>2012-05-12 20:38:18 +0000
commit055173dba4a263acf10325a49eebf82915369ed2 (patch)
treeaec2772e8855e6dbaea6d8136ed0c47bcb825dee /Examples/sigdist_example.txt
parent87c8f7aa3a46118212b99f0d58b18aa93c06b02a (diff)
Notes
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).
+