Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

CentOS 5.9

If I run kill -3 <java process pid> what actually happens? As per this red hat article, I understand that a Java Thread Dump is generated but is the process terminated? It doesn't appear to be based on my tests:

[root@foobox ~]# kill -3 14559

[root@foobox ~]# service foo status
foo (pid 14559) is running...

In other words: could I collect a thread dump via this manner without impacting the service?

share|improve this question
Yes, you could. –  Paul Draper Jun 30 '14 at 6:14

2 Answers 2

up vote 3 down vote accepted

No, it hopefully doesn't terminate the process.

share|improve this answer may provide with you some more information.

It's up to the process to determine how exactly it's going to react when it receives SIGQUIT

Since that signal can be caught, ignored, or blocked by the process it may not respect the kill. If you want like to peer even closer I suggest stack tracing the PID with strace while sending it SIGQUIT with kill.

share|improve this answer

Your Answer


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.