支持GoFrame
来源:GoFrame
浏览 8
扫码
分享
2024-12-09 21:59:47
Linux
Signal | Value | Default Action | Meaning (Reason for Signal) |
---|
SIGHUP | 1 | Term | Hangup of terminal or process death |
SIGINT | 2 | Term | Interrupt signal from keyboard |
SIGQUIT | 3 | Core | Quit signal from keyboard |
SIGILL | 4 | Core | Illegal instruction |
SIGABRT | 6 | Core | Abort exception signal |
SIGFPE | 8 | Core | Floating-point exception |
SIGKILL | 9 | Term | Kill |
SIGSEGV | 11 | Core | Invalid memory reference (segmentation fault) |
SIGPIPE | 13 | Term | Broken pipe: write to pipe with no readers |
SIGALRM | 14 | Term | Timer signal from alarm |
SIGTERM | 15 | Term | Termination |
SIGUSR1 | 30,10,16 | Term | User-defined signal 1 |
SIGUSR2 | 31,12,17 | Term | User-defined signal 2 |
SIGCHLD | 20,17,18 | Ign | Child process stopped or terminated |
SIGCONT | 19,18,25 | Cont | Continue if stopped |
SIGSTOP | 17,19,23 | Stop | Stop signal not from terminal |
SIGTSTP | 18,20,24 | Stop | Stop signal from terminal |
SIGTTIN | 21,21,26 | Stop | Background process attempting read |
SIGTTOU | 22,22,27 | Stop | Background process attempting write |
SIGBUS | 10,7,10 | Core | Bus error (memory access error) |
SIGPOLL | | Term | Pollable event (Sys V), synonym for SIGIO |
SIGPROF | 27,27,29 | Term | Profiling timer expired |
SIGSYS | 12,-,12 | Core | Bad system call (SVr4) |
SIGTRAP | 5 | Core | Trace/breakpoint trap |
SIGURG | 16,23,21 | Ign | Urgent condition on socket (4.2BSD) |
SIGVTALRM | 26,26,28 | Term | Virtual timer expired (4.2BSD) |
SIGXCPU | 24,24,30 | Core | CPU time limit exceeded (4.2BSD) |
SIGXFSZ | 25,25,31 | Core | File size limit exceeded (4.2BSD) |
SIGIOT | 6 | Core | IOT trap, synonym for SIGABRT |
SIGEMT | 7,-,7 | | Term |
SIGSTKFLT | -,16,- | Term | Coprocessor stack fault (unused) |
SIGIO | 23,29,22 | Term | I/O possible on descriptor |
SIGCLD | -,-,18 | Ign | Synonym for SIGCHLD |
SIGPWR | 29,30,19 | Term | Power failure/restart (System V) |
SIGINFO | 29,-,- | | Synonym for SIGPWR |
SIGLOST | -,-,- | Term | File lock lost |
SIGWINCH | 28,28,20 | Ign | Window size change (4.3BSD, Sun) |
SIGUNUSED | -,31,- | Term | Unused signal (will be SIGSYS) |
Windows
Signal | Description |
---|
SIGABRT | Abnormal termination |
SIGFPE | Arithmetic error |
SIGILL | Illegal instruction |
SIGINT | Ctrl+C signal |
SIGSEGV | Illegal storage access |
SIGTERM | Termination request |