当前位置: 技术问答>linux和unix
linux有哪些用户信号?
来源: 互联网 发布时间:2015-08-14
本文导语: signal信号有哪些是用户可用的?比如象sigusr1或sigusr2一样备用来用的,因为我的程序需要一些信号启发。 | 刚刚看到的:) man page(rh 8.0) man 7 signal Real-time Signals Linux supports rea...
signal信号有哪些是用户可用的?比如象sigusr1或sigusr2一样备用来用的,因为我的程序需要一些信号启发。
|
刚刚看到的:)
man page(rh 8.0) man 7 signal
Real-time Signals
Linux supports real-time signals as originally defined in the POSIX.4
real-time extensions (and now included in POSIX 1003.1-2001). Linux
supports 32 real-time signals, numbered from 32 (SIGRTMIN) to 63
(SIGRTMAX). (Programs should always refer to real-time signals using
notation SIGRTMIN+n, since the range of real-time signal numbers varies
across Unices.)
Unlike standard signals, real-time signals have no predefined meanings:
the entire set of real-time signals can be used for application-defined
purposes. (Note, however, that the LinuxThreads implementation uses
the first three real-time signals.)
man page(rh 8.0) man 7 signal
Real-time Signals
Linux supports real-time signals as originally defined in the POSIX.4
real-time extensions (and now included in POSIX 1003.1-2001). Linux
supports 32 real-time signals, numbered from 32 (SIGRTMIN) to 63
(SIGRTMAX). (Programs should always refer to real-time signals using
notation SIGRTMIN+n, since the range of real-time signal numbers varies
across Unices.)
Unlike standard signals, real-time signals have no predefined meanings:
the entire set of real-time signals can be used for application-defined
purposes. (Note, however, that the LinuxThreads implementation uses
the first three real-time signals.)
|
1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL
5) SIGTRAP 6) SIGIOT 7) SIGBUS 8) SIGFPE
9) SIGKILL 10) SIGUSR1 11) SIGSEGV 12) SIGUSR2
13) SIGPIPE 14) SIGALRM 15) SIGTERM 17) SIGCHLD
18) SIGCONT 19) SIGSTOP 20) SIGTSTP 21) SIGTTIN
22) SIGTTOU 23) SIGURG 24) SIGXCPU 25) SIGXFSZ
26) SIGVTALRM 27) SIGPROF 28) SIGWINCH 29) SIGIO
30) SIGPWR
5) SIGTRAP 6) SIGIOT 7) SIGBUS 8) SIGFPE
9) SIGKILL 10) SIGUSR1 11) SIGSEGV 12) SIGUSR2
13) SIGPIPE 14) SIGALRM 15) SIGTERM 17) SIGCHLD
18) SIGCONT 19) SIGSTOP 20) SIGTSTP 21) SIGTTIN
22) SIGTTOU 23) SIGURG 24) SIGXCPU 25) SIGXFSZ
26) SIGVTALRM 27) SIGPROF 28) SIGWINCH 29) SIGIO
30) SIGPWR