diff options
Diffstat (limited to 'cddl/contrib/dtracetoolkit/Examples/kill_example.txt')
-rw-r--r-- | cddl/contrib/dtracetoolkit/Examples/kill_example.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cddl/contrib/dtracetoolkit/Examples/kill_example.txt b/cddl/contrib/dtracetoolkit/Examples/kill_example.txt new file mode 100644 index 000000000000..f73621c6d252 --- /dev/null +++ b/cddl/contrib/dtracetoolkit/Examples/kill_example.txt @@ -0,0 +1,12 @@ +This is an example of the kill.d DTrace script, + + # kill.d + FROM COMMAND SIG TO RESULT + 2344 bash 2 3117 0 + 2344 bash 9 12345 -1 + ^C + +In the above output, a kill -2 (Ctrl-C) was sent from the bash command +to PID 3177. Then a kill -9 (SIGKILL) was sent to PID 12345 - which +returned a "-1" for failure. + |