sigdist.d1m
Signal distribution by process. uses dtrace.
Usage
sigdist.d
Overview
This is a simple DTrace script that prints the number of signals recieved by process and signal number. This script is also available as /usr/demo/dtrace/sig.d, where it originates.
Since this uses DTrace, only users with root privileges can run this command.
Examples
- This samples until Ctrl-C is hit.
-
#
sigdist.d
Fields
SENDER
|
process name of sender |
|---|---|
RECIPIENT
|
process name of target |
SIG
|
signal number, see signal(3head) |
COUNT
|
number of signals sent |
Based on
/usr/demo/dtrace/sig.d
Documentation
DTrace Guide "proc Provider" chapter (docs.sun.com)
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
sigdist.d will sample until Ctrl-C is hit.
Releases
115 releases since Mac OS X 10.5; the text changed 1 time.