xref: /netbsd-src/external/cddl/dtracetoolkit/dist/Docs/Examples/kill_example.txt (revision a6f3f22f245acb8ee3bbf6871d7dce989204fa97)
1This 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
9In the above output, a kill -2 (Ctrl-C) was sent from the bash command
10to PID 3177. Then a kill -9 (SIGKILL) was sent to PID 12345 - which
11returned a "-1" for failure.
12
13