xref: /netbsd-src/external/cddl/dtracetoolkit/dist/Docs/Examples/sigdist_example.txt (revision c29d51755812ace2e87aeefdb06cb2b4dac7087a)
1The following is a demonstration of the sigdist.d script.
2
3
4Here we run sigdist.d, and in another window we kill -9 a sleep process,
5
6   # ./sigdist.d
7   Tracing... Hit Ctrl-C to end.
8   ^C
9             SENDER        RECIPIENT    SIG  COUNT
10              sched           dtrace      2      1
11              sched             bash     18      1
12               bash            sleep      9      1
13              sched             Xorg     14     55
14
15We can see the signal sent from bash to sleep. We can also see that Xorg
16has recieved 55 signal 14s. a "man -s3head signal" may help explain what
17signal 14 is (alarm clock).
18
19