Displaying 1 result from an estimated 1 matches for "last_signal_sender_pid".
2007 Jul 25
2
proc:::exit not firing
...internals and other spots
it appears that proc:::exit should ALWAYS be fired regardless of how the
process ends.
Thanks
Chris Debenham
The script they are using is as follows:
--- begin script ---
proc:::signal-send
/args[1]->pr_pid == $target/
{
last_signal = args[2];
last_signal_sender_pid = pid;
last_signal_sender_name = execname;
}
proc:::exit
/pid == $target && args[0] == CLD_EXITED/
{
printf( "%Y normal exit.", walltimestamp );
ustack();
}
proc:::exit
/pid == $target && args[0] == CLD_KILLED/
{
printf( "%Y exite...