Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I know kill -9 mean, but anyone can explain what does kill -3 mean? Any special signal it sends out?

share|improve this question

migrated from stackoverflow.com Oct 30 '11 at 15:51

This question came from our site for professional and enthusiast programmers.

6  
Have you tried man kill? –  Tom Wijsman Oct 31 '11 at 13:24
2  
@TomWijsman, man kill doesn't list the signals and man signals doesn't show anything at all. This is actually the first useful thin that comes up with you search google for "kill -3". :) It is really easy to over look the 'kill -l' option, especially if you didn't know much about signals ahead of time. –  Ape-inago Jul 26 '13 at 14:34
1  
@Ape-inago: It is short enough to not skip over an option, but granted clarifying what to look for helps, thanks; kill -l indeed lists a summary, if you were wondering man 7 signal does list them in detail. It is where the table in the currently accepted answer likely comes from. –  Tom Wijsman Aug 6 '13 at 21:40

3 Answers 3

up vote 15 down vote accepted

The signals described in the original POSIX.1-1990 standard:

   Signal     Value     Action   Comment
   -------------------------------------------------------------------------
   SIGHUP        1       Term    Hangup detected on controlling terminal
                                 or death of controlling process
   SIGINT        2       Term    Interrupt from keyboard
   SIGQUIT       3       Core    Quit from keyboard
   SIGILL        4       Core    Illegal Instruction
   SIGABRT       6       Core    Abort signal from abort(3)
   SIGFPE        8       Core    Floating point exception
   SIGKILL       9       Term    Kill signal
   SIGSEGV      11       Core    Invalid memory reference
   SIGPIPE      13       Term    Broken pipe: write to pipe with no readers
   SIGALRM      14       Term    Timer signal from alarm(2)
   SIGTERM      15       Term    Termination signal
   SIGUSR1   30,10,16    Term    User-defined signal 1
   SIGUSR2   31,12,17    Term    User-defined signal 2
   SIGCHLD   20,17,18    Ign     Child stopped or terminated
   SIGCONT   19,18,25    Cont    Continue if stopped
   SIGSTOP   17,19,23    Stop    Stop process
   SIGTSTP   18,20,24    Stop    Stop typed at tty
   SIGTTIN   21,21,26    Stop    tty input for background process
   SIGTTOU   22,22,27    Stop    tty output for background process
share|improve this answer
2  
Unfortunately, the numeric values of these signals vary between operating systems and even between architectures. –  grawity Oct 30 '11 at 18:06

kill -l shows us all signals. Following this hint 3 means SIGQUIT

share|improve this answer

kill -3 is a thread dump that will list all the Java threads that are currently active in Java Virtual Machine (JVM).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.