Detailed information on Linux signals

Source: Internet
Author: User
Tags arithmetic
 sighup Terminate process terminal line hang up SIGINT terminate process interrupt process Sigquit Establish core file terminate process and generate core file Sigill build core file Illegal instruction Sigtrap establish core file tracking self-trap Sigbus establish core file bus error SIGSEGV establish core file segment illegal error SIGFP E establish core file floating-point exception Sigiot build core file Execute I/O SIGKILL terminate process kill process sigpipe terminate process to a pipeline without read process Write data sigalarm Terminate process timer sigterm terminate process software terminate signal SIGSTOP stop process non-terminal stop signal SIGTSTP stop process terminal Stop signal Sigcont ignore signal continue to perform a stopped process Sigurg ignore signal I/O emergency signal Sigio ignore the signal descriptor can do I/O sigchld A slight signal notifies the parent process when a child process stops or exits Sigttou stop process daemon Write terminal Sigttin stop process background process read Terminal SIGXGPU terminate process CPU Time out timeout S   Igxfsz Terminate process file length too long www.bianceng.cn sigwinch ignore signal window size changes sigprof terminate process statistic map with timer to time SIGUSR1 Terminate process user-defined signal 1 SIGUSR2 terminate process user-defined signal 2 SIGVTALRM terminate process virtual Timer 

1 Sighup This signal at the end of the user terminal connection (normal or abnormal), usually at the end of the control process, notify the same session of each job, when they are no longer associated with the control terminal.

2) SIGINT program termination (interrupt) signal, when the user types Intr characters (usually ctrl-c) issued

3) Sigquit and SIGINT are similar, but are controlled by quit characters (usually ctrl). A process produces a core file when it exits Sigquit, in the sense that it is similar to a program error signal.

4) Sigill executed the illegal instruction. Typically, an error occurs in the executable itself, or an attempt is made to execute a data segment. This signal can also be generated when the stack overflows.

5) The Sigtrap is produced by a breakpoint instruction or other trap instruction. Used by debugger.

6) The SIGABRT program discovers errors and invokes abort when it is generated.

6) Sigiot is produced on PDP-11 by IoT instructions, as in other machines and SIGABRT.

7 Sigbus illegal address, including memory address alignment (alignment) error. Eg: Access a four-word integer, but its address is not a multiple of 4.

8) Sigfpe in the event of a fatal arithmetic operation error. This includes not only floating-point arithmetic errors, but also all other arithmetic errors such as overflow and divisor 0.

9) SIGKILL is used to immediately end the operation of the program. This signal cannot be blocked, processed and ignored.

SIGUSR1 left to the user to use

One) SIGSEGV attempts to access memory that is not assigned to itself, or attempts to write data to a memory address that does not have write access.

SIGUSR2 left to the user to use

Sigpipe Broken Pipe

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.