Linux Signals: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 25: Line 25:


Sends the process an interrupt. Guaranteed to be present on all systems.
Sends the process an interrupt. Guaranteed to be present on all systems.
bash sends SIGINT to the process running in [[Bash_Concepts#Foreground_Process|foreground]] when Ctrl-C is pressed.


==SIGQUIT (3)==
==SIGQUIT (3)==

Revision as of 13:05, 31 July 2017

External

Internal

Signals

SIGHUP (1)

POSIX signal. Hangup.

Hangup is the signal that is sent to the process when the terminal closes on a foreground process.

Also see:

nohup
httpd Restart Now

SIGINT (2)

Sends the process an interrupt. Guaranteed to be present on all systems.

bash sends SIGINT to the process running in foreground when Ctrl-C is pressed.

SIGQUIT (3)

Will trigger a Java virtual machine to generate a thread dump.

SIGILL (4)

SIGTRAP (5)

SIGFPE (8)

SIGKILL (9)

POSIX. Kill the process. The signal cannot be caught or ignored. Guaranteed to be present on all systems.

SIGUSR1 (10)

Also see:

httpd Graceful Restart

SIGSEGV (11)

SIGUSR2 (12)

SIGPIPE (13)

SIGALRM (14)

SIGTERM (15)

Also see:

httpd Stop Now

SIGSTKFLT (16)

SIGCHLD (17)

SIGCONT (18)

POSIX. Continue executing, if stopped.

Also see:

Suspending JVM Execution

SIGSTOP (19)

POSIX. Stop executing. The signal cannot be caught or ignored.

Also see:

Suspending JVM Execution

SIGTSTP (20)

SIGTTIN (21)

SIGTTOU (22)

SIGURG (23)

SIGXCPU (24)

SIGXFSZ (25)

SIGVTALRM (26)

SIGPROF (27)

SIGWINCH (28)

Also see:

httpd Graceful Stop

SIGIO (29)

SIGPWR (30)

SIGSYS (31)

SIGRTMIN (34)

Signals in Go

Signals in Go