Unix Signals

From Genunix

Unix Signals

To list available signals: "kill -l"

0. SIGEXIT - shell exit (Ctrl-D or exit command)
  1. 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.)
  2. SIGINT - Interupt (Ctrl-C) Kills process cleanly
  3. SIGQUIT - Abort (Ctrl-\) Causes process to core dump
  4. SIGILL
  5. SIGTRAP
  6. SIGABRT
  7. SIGEMT
  8. SIGFPE
  9. SIGKILL - Kill. (Can not be caught or ignored, as the signal is caught by the kernel)
  10. SIGBUS
  11. SIGSEGV
  12. SIGSYS
  13. SIGPIPE
  14. SIGALRM
  15. SIGTERM - Terminate (default kill signal) Signals process to shutdown cleanly
  16. SIGUSR1
  17. SIGUSR2
  18. SIGCHLD
  19. SIGPWR
  20. SIGWINCH
  21. SIGURG
  22. SIGIO
  23. SIGSTOP - Stop. Used to suspend execution of a running process (Can not be caught or ignored, as the signal is caught by the kernel)
  24. SIGTSTP - Temporary Stop (Job Control, Ctrl-Z) Suspend execution of a running process
  25. SIGCONT - Continue () Continue execution of a stopped process
  26. SIGTTIN
  27. SIGTTOU
  28. SIGVTALRM
  29. SIGPROF
  30. SIGXCPU
  31. SIGXFSZ
  32. SIGWAITING
  33. SIGLWP
  34. SIGFREEZE
  35. SIGTHAW
  36. SIGCANCEL
  37. SIGLOST