aboutsummaryrefslogtreecommitdiff
path: root/Examples/kill_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/kill_example.txt
parent87c8f7aa3a46118212b99f0d58b18aa93c06b02a (diff)
Notes
Diffstat (limited to 'Examples/kill_example.txt')
-rw-r--r--Examples/kill_example.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/Examples/kill_example.txt b/Examples/kill_example.txt
new file mode 100644
index 000000000000..f73621c6d252
--- /dev/null
+++ b/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.
+