music
OSdata.com: programming text book 

OSdata.com

signals

summary

    This subchapter looks at UNIX and Linux signals.

free book on UNIX/Linux System Administration

Teach Yourself UNIX/Linux System Administration and Shell Programming

free computer programming text book project

table of contents
If you like the idea of this project,
then please donate some money.
more information on donating

Google

signals

    This subchapter looks at UNIX and Linux signals.

    The first chart shows the signals by name, with their explanation and their numbers by operating system. The second chart shows the signals by number, with the corresponding name by operating system.

signals chart by name

namemeaningLinuxMac OS XSolaris
SIGABRTUsed by abort 6
create core image
6
SIGALRMAlarm clock, real-time timer expired (POSIX)1414
terminate process
14
SIGBUSBUS error (BSD 4.2)710
create core image
10
SIGCANCELThread cancellation signal used by libthread  36
SIGCHLDChild process has stopped or exited, Child status change alias (POSIX)1720
discard signal
18
SIGCONTContinue executing, if stopped; Stopped process has been continued (POSIX)1819
discard signal
25
SIGEMTEMT instruction; Emulate instruction executed 7
create core image
7
SIGFPEFloating point exception (ANSI)88
create core image
8
SIGFREEZESpecial signal used by CPR  34
SIGHUPHangup (POSIX)11
terminate process
1
SIGILLIllegal instruction (ANSI)44
create core image
4
SIGINFOstatus request from keyboard 29
terminate process
 
SIGINTTerminal interrupt (ANSI)22
terminate process
2
SIGIOI/O now possible (BSD 4.2)2923
discard signal
22
SIGIOTIOT Trap (BSD 4.2)66
create core image
now called SIGABRT
 
SIGKILLKill (POSIX)
(can’t be caught or ignored)
99
terminate process
9
SIGLOSTResource lost  37
SIGLWPSpecial signal used by thread library  33
SIGPIPEWrite on a pipe with no reader, Broken pipe (POSIX)1313
terminate process
13
SIGPOLLPollable event occurred or Socket I/O possible  22
SIGPROFProfiling alarm clock, profiling timer expired (BSD 4.2)2727
terminate process
29
SIGPWRPower failure restart (System V)30 19
SIGQUITTerminal quit (POSIX)33
create core image
3
SIGRTMAXLowest priority real-time signal  45
SIGRTMINHighest priority real-time signal  38
SIGSEGVInvalid memory segment access, Segmentation violation (ANSI)1111
create core image
11
SIGSTKFLTStack fault16  
SIGSTOPStop executing (POSIX)
(can’t be caught or ignored)
1917
stop process
23
SIGSYSBad argument to system call; Non-existent system call invoked 12
create core image
12
SIGTERMSoftware termination (ANSI)1515
terminate process
15
SIGTHAWSpecial signal used by CPR  35
SIGTRAPTrace trap (POSIX)55
create core image
5
SIGTSTPTerminal stop signal, User stop requested from TTY (POSIX)2018
stop process
24
SIGTTINBackground process trying to read from TTY control terminal (POSIX)2121
stop process
26
SIGTTOUbackground process trying to write to TTY control terminal (POSIX)2222
stop process
27
SIGURGUrgent condition on socket (BSD 4.2)2316
discard signal
21
SIGUSR1User defined signal 1 (POSIX)1030
terminate process
16
SIGUSR2User defined signal 2 (POSIX)1231
terminate process
17
SIGVTALRMVirtual alarm clock, Virtual timer expired (BSD 4.2)2626
terminate process
28
SIGWAITINGProcess’ LWPs are blocked  32
SIGWINCHWindow size change (BSD 4.3, Sun)2828
discard signal
20
SIGXCPUCPU limit exceeded (BSD 4.2)2424
terminate process
30
SIGXFSZFile size limit exceeded (BSD 4.2)2525
terminate process
31

signals chart by number

numberLinuxMac OS XSolaris
1SIGHUPSIGHUPSIGHUP
2SIGINTSIGINTSIGINT
3SIGQUITSIGQUITSIGQUIT
4SIGILLSIGILLSIGILL
5SIGTRAPSIGTRAPSIGTRAP
6SIGIOTSIGABRTSIGABRT
7SIGBUSSIGEMTSIGEMT
8SIGFPESIGFPESIGFPE
9SIGKILLSIGKILLSIGKILL
10SIGUSR1SIGBUSSIGBUS
11SIGSEGVSIGSEGVSIGSEGV
12SIGUSR2SIGSYSSIGSYS
13SIGPIPESIGPIPESIGPIPE
14SIGALRMSIGALRMSIGALRM
15SIGTERMSIGTERMSIGTERM
16SIGSTKFLTSIGURGSIGUSR1
17SIGCHLDSIGSTOPSIGUSR2
18SIGCONTSIGTSTPSIGCHLD
19SIGSTOPSIGCONTSIGPWR
20SIGTSTPSIGCHLDSIGWINCH
21SIGTTINSIGTTINSIGURG
22SIGTTOUSIGTTOUSIGIO
SIGPOLL
23SIGURGSIGIOSIGSTOP
24SIGXCPUSIGXCPUSIGTSTP
25SIGXFSZSIGXFSZSIGCONT
26SIGVTALRMSIGVTALRMSIGTTIN
27SIGPROFSIGPROFSIGTTOU
28SIGWINCHSIGWINCHSIGVTALRM
29SIGIOSIGINFOSIGPROF
30SIGPWRSIGUSR1SIGXCPU
31 SIGUSR2SIGXFSZ
32  SIGWAITING
33  SIGLWP
34  SIGFREEZE
35  SIGTHAW
36  SIGCANCEL
37  SIGLOST
38  SIGRTMIN
45  SIGRTMAX

comments, suggestions, corrections, criticisms

please contact us

your name:
email address:
phone number:
message:

free music player coding example

    Coding example: I am making heavily documented and explained open source code for a method to play music for free — almost any song, no subscription fees, no download costs, no advertisements, all completely legal. This is done by building a front-end to YouTube (which checks the copyright permissions for you).

    View music player in action: www.musicinpublic.com/.

    Create your own copy from the original source code/ (presented for learning programming).


return to table of contents
free downloadable college text book
free downloadable system administrator and shell programming book

view text book
HTML file

Because I no longer have the computer and software to make PDFs, the book is available as an HTML file, which you can convert into a PDF.

previous page next page
previous page next page

free book on UNIX/Linux System Administration

Teach Yourself UNIX/Linux System Administration and Shell Programming

free computer programming text book project

Building a free downloadable text book on computer programming for university, college, community college, and high school classes in computer programming.

If you like the idea of this project,
then please donate some money.

send donations to:
Milo
PO Box 1361
Tustin, California 92781

Supporting the entire project:

    If you have a business or organization that can support the entire cost of this project, please contact Pr Ntr Kmt (my church)

more information on donating

Some or all of the material on this web page appears in the
free downloadable college text book on computer programming.


Google


Made with Macintosh

    This web site handcrafted on Macintosh computers using Tom Bender’s Tex-Edit Plus and served using FreeBSD .

Viewable With Any Browser


    †UNIX used as a generic term unless specifically used as a trademark (such as in the phrase “UNIX certified”). UNIX is a registered trademark in the United States and other countries, licensed exclusively through X/Open Company Ltd.

    Names and logos of various OSs are trademarks of their respective owners.

    Copyright © 2012 Milo

    Created: November 20, 2012

    Last Updated: November 20, 2012


return to table of contents
free downloadable college text book
free downloadable system administrator and shell programming book

previous page next page
previous page next page