Unix Signals
From Genunix
Unix Signals
To list available signals: "kill -l"
- 0. SIGEXIT - shell exit (Ctrl-D or exit command)
- SIGHUP - HangUp (HUP) Used to signal that a user had terminated a serial session. IE: Hangup the phone line via modem. Currently also used to let processes know that the parent shell has been terminated, and that they should also terminate. Because SIGHUP can be handled, many longrunnning processes (daemons) interverpt the call, an by convention understand to reread their configuration files. (The signal was recycled because there were originally no user defined signals.)
- SIGINT - Interupt (Ctrl-C) Kills process cleanly
- SIGQUIT - Abort (Ctrl-\) Causes process to core dump
- SIGILL
- SIGTRAP
- SIGABRT
- SIGEMT
- SIGFPE
- SIGKILL - Kill. (Can not be caught or ignored, as the signal is caught by the kernel)
- SIGBUS
- SIGSEGV
- SIGSYS
- SIGPIPE
- SIGALRM
- SIGTERM - Terminate (default kill signal) Signals process to shutdown cleanly
- SIGUSR1
- SIGUSR2
- SIGCHLD
- SIGPWR
- SIGWINCH
- SIGURG
- SIGIO
- SIGSTOP - Stop. Used to suspend execution of a running process (Can not be caught or ignored, as the signal is caught by the kernel)
- SIGTSTP - Temporary Stop (Job Control, Ctrl-Z) Suspend execution of a running process
- SIGCONT - Continue () Continue execution of a stopped process
- SIGTTIN
- SIGTTOU
- SIGVTALRM
- SIGPROF
- SIGXCPU
- SIGXFSZ
- SIGWAITING
- SIGLWP
- SIGFREEZE
- SIGTHAW
- SIGCANCEL
- SIGLOST
