1N/A * sigdist.d - signal distribution by process name. 1N/A * Written using DTrace (Solaris 10 3/05) 1N/A * This is a simple DTrace script that prints the number of signals 1N/A * recieved by process and signal number. This script is also available 1N/A * $Id: sigdist.d 4 2007-08-01 11:01:38Z brendan $ 1N/A * USAGE: sigdist.d # hit Ctrl-C to end 1N/A * SENDER process name of sender 1N/A * RECIPIENT process name of target 1N/A * SIG signal number, see signal(3head) 1N/A * COUNT number of signals sent 1N/A * PORTIONS: Copyright (c) 2005, 2006 Brendan Gregg. 1N/A * The contents of this file are subject to the terms of the 1N/A * Common Development and Distribution License, Version 1.0 only 1N/A * (the "License"). You may not use this file except in compliance 1N/A * See the License for the specific language governing permissions 1N/A * and limitations under the License. 1N/A * 09-Jun-2005 Brendan Gregg Created this. 1N/A * 20-Apr-2006 " " Last update. 1N/A printf(
"%16s %16s %6s %6s\n",
"SENDER",
"RECIPIENT",
"SIG",
"COUNT");