1

I try to use psig command to track signal dispositions of a process on Solaris:

bash-3.2# psig 3109
3109:   bash
HUP     caught  termsig_sighandler      0       HUP,INT,ILL,TRAP,ABRT,EMT,FPE,BUS,SEGV,SYS,PIPE,ALRM,TERM,USR1,USR2,VTALRM,XCPU,XFSZ,LOST
INT     caught  0x80c0e88       0
QUIT    ignored

What are the exact meanings of every column? I try to find it in Oracle psig document, but can't find the detail meanings of every column.

Nan Xiao
  • 1,407

1 Answers1

3

The first column mean the signal that is sent. Use kill -l for a list of all signal that are available on your system (see the oracle documentation for the meaning of the signals, here the most important ones).

The second column indicates whether the signal is caught by a signal handler of the process or not. caught means that there is a signal handler assiciated to the signal. Note that some signals can't be caught by the process (SIGKILL, SIGSTOP). Others are ignored. That means the process didn't react to the signal.

The third column is the userspace address of the handler.

The fourth column: The sa_flags: Special flags to affect behavior of signal. See the different flags and their meanings

The fifth column: A list of signals to be blocked when the handler is executed.

chaos
  • 48,171