로그인
Sign in
DETAIL DESCRIPTION

This is a description of Solaris 2.x Signals and their Meanings

SOLUTION SUMMARY

What is a signal?

  An event notification (Similar to a software interrupt).

What are signals used for?

  Abnormally interrupt a process and interprocess communication.

List of 2.x signals and their meanings:
-----------------------------------------

SIGHUP    1 - hangup
SIGINT    2 - interrupt (^c)
SIGQUIT   3 - quit (^\, creates a core dump)
SIGILL    4 - illegal instruction (not reset when caught)
SIGTRAP   5 - trace trap (not reset when caught)
SIGABRT   6 - used by abort
SIGEMT    7 - EMT instruction
SIGFPE    8 - floating-point exception (when an integer error is seen)
SIGKILL   9 - kill (cannot be caught, ignored, masked or held)
SIGBUS   10 - bus error (address alignment problem, also when seg is stepped out of)
SIGSEGV  11 - segmentation violation (stepped on, didn't have perms)
SIGSYS   12 - bad argument to system call
SIGPIPE  13 - write on a pipe that is closed for reading
SIGALRM  14 - alarm clock (wall clock time)
SIGTERM  15 - software termination signal from kill
SIGUSR1  16 - user-defined signal 1 (not defined, ignored)
SIGUSR2  17 - user-defined signal 2 (not defined, ignored)
SIGCHLD  18 - child status change alias (POSIX) (exited, stopped or continued)
SIGPWR   19 - power-fail restart (3b2 only)
SIGWINCH 20 - window size change & keyboard focus
SIGURG   21 - urgent socket condition (used for out of band data)
SIGPOLL  22 - pollable event occurred
SIGIO    22 - socket I/O possible (SIGPOLL alias)
SIGSTOP  23 - stop (cannot be caught or ignored)
SIGTSTP  24 - user stop requested from tty
SIGCONT  25 - stopped process has been continued
SIGTTIN  26 - background tty read attempted
SIGTTOU  27 - background tty write attempted
SIGVTALRM 28 - virtual timer expired
SIGPROF  29 - profiling timer expired
SIGXCPU  30 - exceeded CPU limit
SIGXFSZ  31 - exceeded file size limit
SIGWAITING 32 - the process's LWPs are blocked
SIGLWP   33 - signal used by thread library
SIGFREEZE 34 - special signal used by CheckPoint/Resume
SIGTHAW  35 - special signal used by CheckPoint/Resume
SIGRTMIN 36 - First real time signal (will be used for POSIX real time)
SIGRTMAX 43 - Last real time signal

(The symbols SIGRTMIN and SIGRTMAX are evaluated dynamically in order to permit future configurability.)

---------------------------------------------------

See sys/signal.h

SIGINT terminates the process by default.
SIGQUIT terminates the process and create a core file.
SIGKILL 9 and SIGSTOP 23 cannot be ignored or caught.
SIGKILL has the highest priority when checking for signals (see fsig()).

조회 수 :
612
추천 수 :
21 / 0
등록일 :
2003.12.13
16:43:13 (*.193.52.140)
엮인글 :
http://bestceok.com/xe/index.php?mid=sun_faq&document_srl=2928&act=trackback&key=e58
게시글 주소 :
http://bestceok.com/xe/index.php?mid=sun_faq&document_srl=2928
List of Articles
번호 제목 글쓴이 날짜 조회 수
51 chmod 명령어 사용법 하록 2003-12-13 1017
» Solaris 2.X signals and their meanings 하록 2003-12-13 612
49 Mount 되어 있는 CD-ROM을 강제로 꺼내기 하록 2003-12-13 664
48 CDE : X - server can not be started on display 하록 2003-12-13 1419
47 Timeout waiting for ARP/RARP packet 하록 2003-12-13 978
46 vi 에서 입력시 한글이 깨지는 현상 하록 2003-12-13 696
45 다양한 플랫폼의 SNMP 취약점 하록 2003-12-13 1541
44 buffer overflow를 방지하는 방법 하록 2003-12-13 489
43 Carko 관련 해킹 방지 방법(정보보호센터자료) 하록 2003-12-13 1028
42 tcp_wrapper 설치 하록 2003-12-13 608
41 Componet Manager 2.1 설치 하록 2003-12-13 457
40 T3 Array 재구성 하록 2003-12-13 609
39 A1000 장비에 디스크 추가 하록 2003-12-13 535
38 A5000 어레이에서 디스크 장착 위치 하록 2003-12-13 481
37 Volume manager에서 rootdg volume 만드는 방법 하록 2003-12-13 629
36 Solaris 업그레이드 후 Volume Manager 복구 하록 2003-12-13 453
35 자주 쓰이는 RAID 레벨의 종류 하록 2003-12-13 557
34 Exceed에서 Openwindows 한글 폰트 설치법 하록 2003-12-13 1150
33 메세지가 콘솔창에 뜨지 않고 화면에 직접 나타날 때 하록 2003-12-13 562
32 Unable to get pty! 하록 2003-12-13 528