summaryrefslogtreecommitdiffstats
path: root/cddl/contrib/dtracetoolkit/Examples/kill_example.txt
blob: f73621c6d252347f8b853b9b72d6f8b2122eeaa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
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.

OpenPOWER on IntegriCloud