]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Examples/kill_example.txt
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.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