有一些信号不仅可以终止进程还会输出一些内核信息,以帮助程序员调试出错的地方,如SIGABRT(abort)、SIGBUS(bus error)、SIGILL(illegal instruction)、SIGSEGV(invalid memory reference无效内存引用)、SIGSYS(bad system call错误的系统调用) )。用于停止进程的信号有:SIGSTOP、SIGTSTP。 SIGCONT 是恢复已停止的进程。 一...
SIGPWR 30 /Power failure restart (System V)./ SIGSYS 31 /Bad system call. */ SIGUNUSED 31 SIGHUP 本信号在用户终端连接(正常或非正常)结束时发出, 通常是在终端的控制进程结束时, 通知同一session内的各个作业, 这时它们与控制终端不再关联. SIGINT 程序终止(interrupt)信号, 在用户键入INTR字符(通常是C...
#define SIGPOLL SIGIO /* Pollable event occurred (System V). */ #define SIGIO 29 /* I/O now possible (4.2 BSD). */ #define SIGPWR 30 /* Power failure restart (System V). */ #define SIGSYS 31 /* Bad system call. */ #define SIGUNUSED 31 1. 2. 3. 4. 5. 6. 7. 8. 9...
SIGSYS 12 Core Bad System Call SIGPIPE 13 Exit Broken Pipe SIGALRM 14 Exit Alarm Clock SIGTERM 15 Exit Terminated SIGUSR1 16 Exit User Signal 1 SIGUSR2 17 Exit User Signal 2 SIGCHLD 18 Ignore Child Status Changed SIGPWR 19 Ignore Power Fail or Restart SIGWINCH 20 Ignore Window Size Change ...
SIGSYS P2001 Core Bad system call (SVr4); see also seccomp(2) SIGTERM P1990 Term TerminationsignalSIGTRAP P2001 Core Trace/breakpoint trap SIGTTIN P1990 Stop Terminal inputforbackgroundprocessSIGTTOU P1990 Stop Terminal outputforbackgroundprocessSIGUNUSED - Core SynonymouswithSIGSYS ...
define SIGPOLL SIGIO /* Pollable event occurred (System V). */ define SIGIO 29 /* I/O now possible (4.2 BSD). */ define SIGPWR 30 /* Power failure restart (System V). */ define SIGSYS 31 /* Bad system call. */ define SIGUNUSED 31...
SIGSTOP P1990 Stop Stop process SIGTSTP P1990 Stop Stop typed at terminal SIGSYS P2001 Core Bad system call (SVr4); see also seccomp(2) SIGTERM P1990 Term Termination signal SIGTRAP P2001 Core Trace/breakpoint trap SIGTTIN P1990 Stop Terminal input for background process ...
SIGSYSP2001CoreBad system call (SVr4); see alsoseccomp(2) SIGTERMP1990TermTermination signal SIGTRAPP2001CoreTrace/breakpoint trap SIGTTINP1990StopTerminal input for background process SIGTTOUP1990StopTerminal output for background process SIGUNUSED-CoreSynonymous withSIGSYS ...
SIGSYS 31/* Bad system call. */ SIGUNUSED 31 1) SIGHUP本信号在⽤户终端连接(正常或⾮正常)结束时发出, 通常是在终端的控制进程结束时, 通知同⼀session内的各个作业, 这时它们与控制终端不再关联.2) SIGINT程序终⽌(interrupt)信号, 在⽤户键⼊INTR字符(通常是Ctrl+C)时发出 3) SIG...
SIGSTOP中止进程。无法处理和忽略。 SIGSYS非法系统调用 SIGTERM请求中止进程,kill命令缺省发送 SIGTHAW Solaris专用,从Suspend恢复时候发送 SIGTRAP实现相关的硬件异常。一般是调试异常 SIGTSTP Suspend Key,一般是Ctrl+Z。发送给所有Foreground Group的进程 SIGTTIN当Background Group的进程尝试读取Terminal的时候发送 ...