]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - cddl/contrib/dtracetoolkit/Examples/kill_example.txt
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / cddl / contrib / dtracetoolkit / Examples / kill_example.txt
1 This is an example of the kill.d DTrace script,
2
3    # kill.d
4     FROM      COMMAND   SIG TO     RESULT   
5     2344         bash     2 3117   0
6     2344         bash     9 12345  -1
7    ^C
8
9 In the above output, a kill -2 (Ctrl-C) was sent from the bash command
10 to PID 3177. Then a kill -9 (SIGKILL) was sent to PID 12345 - which 
11 returned a "-1" for failure.
12