kill.d 1m "$Date:: 2007-08-05 #$" "USER COMMANDS"
NAME
kill.d - snoop process signals as they occur. Uses DTrace.
SYNOPSIS
kill.d
DESCRIPTION
kill.d is a simple DTrace program to print details of process signals as they are sent, such as the PID source and destination, signal number and result. This program can be used to determine which process is sending signals to which other process. Since this uses DTrace, only the root user or users with the dtrace_kernel privilege can run this command.
OS
Solaris
STABILITY
stable - needs the syscall provider.
EXAMPLES

Default output, print process signals as they are sent. # kill.d

FIELDS

FROM source PID

COMMAND source command name

TO destination PID

SIG destination signal ("9" for a kill -9)

RESULT result of signal (-1 is for failure)

DOCUMENTATION
See the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs may include full worked examples with verbose descriptions explaining the output.
EXIT
kill.d will run forever until Ctrl-C is hit.
AUTHOR
Brendan Gregg [Sydney, Australia]
SEE ALSO
dtrace(1M), truss(1)