Signals

Signals Referenced in RubyTapas

  • SIGEXIT — “EXIT”=>0  — exit with a return value
  • SIGHUP — “HUP”=>1  —  Hangup detected on controlling terminal or death of controlling process
  • SIGINT — “INT”=>2  —  Interrupt from keyboard
  • SIGQUIT — “QUIT”=>3  —  Quit from keyboard
  • SIGILL — “ILL”=>4  — Illegal Instruction
  • SIGTRAP — “TRAP”=>5  — Trace/breakpoint trap
  • SIGIOT — “IOT”=>6  — Generated by the PDP-11 “iot” instruction.  Same as “Abort”.
  • SIGABRT — “ABRT”=>6  — Abort signal. (as by the process itself when it calls abort function.)
  • SIGBUS — “BUS”=>7  — Bus error; bad memory access
  • SIGFPE — “FPE”=>8  — Floating point exception
  • SIGKILL — “KILL”=>9  — Kill signal; CANNOT be caught or ignored, NO cleanup in process
  • SIGUSR1 — “USR1″=>10  — User-defined signal 1
  • SIGSEGV — “SEGV”=>11  — Invalid memory reference; segment violation.
  • SIGUSR2 — “USR2″=>12  — User-defined signal 2
  • SIGPIPE — “PIPE”=>13  — Broken pipe: write to pipe with no readers
  • SIGALRM — “ALRM”=>14  — Timer signal from alarm; sent when real or clock time elapses
  • SIGTERM — “TERM”=>15  — Termination signal; can be caught and interpreted or ignored by the process
  • SIGCHLD — “CHLD”=>17  — Child stopped or terminated
  • SIGCLD — “CLD”=>17  — A synonym for SIGCHLD
  • SIGCONT — “CONT”=>18  — Continue if stopped
  • SIGSTOP — “STOP”=>19  — Stop process
  • SIGTSTP — “TSTP”=>20  — Stop typed at terminal
  • SIGTTIN — “TTIN”=>21  — Terminal input for background process
  • SIGTTOU — “TTOU”=>22  — Terminal output for background process
  • SIGURG — “URG”=>23  — Urgent condition on socket
  • SIGXCPU — “XCPU”=>24  — CPU time limit exceeded
  • SIGXFSZ — “XFSZ”=>25  — file size limit exceeded
  • SIGVTALRM — “VTALRM”=>26  — sent when CPU time used by the process elapses
  • SIGPROF — “PROF”=>27  — sent when CPU time used by the process, and by the system on behalf of the process, elapses
  • SIGWINCH — “WINCH”=>28  — window resize signal
  • SIGIO — “IO”=>29  — I/O now possible
  • SIGPOLL — “POLL”=>29  — Pollable event; Synonym for SIGIO
  • SIGPWR — “PWR”=>30  — Power failure
  • SIGSYS — “SYS”=>31  — Bad system call