由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - 现在thread dump只能用jstack了吗?
相关主题
多少个thread 就算不正常?one multi-threading question
Re: How to lock a file and detect a thread is over?question about using Runtime.getRuntime.exec() in Tomcat
[转载] 现在还有什么OS不是THREAD级调度的吗?有人在 Win7 上用 Tomcat 吗?
java thread questionRe: native thread 和green thread
thread independent on a single-cpu machine?Re: Client-Server and actionPerformed
Thread对应的input和output问题Top Ten Errors Java Programmers Make(3)
multi-threading guru们 (转载)Re: Why Swing is not multiple-thread safe?
怎么学multithreading/concurrency?paint()呀,repaint()呀
相关话题的讨论汇总
话题: jstack话题: dump话题: thread话题: pid话题: 只能
进入Java版参与讨论
1 (共1页)
z****e
发帖数: 54598
1
我尝试了一下用kill -3 PID > test.txt去获取thread dump
但是貌似不行,只能用jstack PID > test.txt才可以
e*****t
发帖数: 1005
2
kill -3 should work, but the thread dump does not necessarily go to your
test.txt
If the jvm were started already redirecting to somewhere, the threaddump
shall goes to that console or file or whatever.

【在 z****e 的大作中提到】
: 我尝试了一下用kill -3 PID > test.txt去获取thread dump
: 但是貌似不行,只能用jstack PID > test.txt才可以

w**z
发帖数: 8232
3
visualvm 好像可以, 但还是jstack 最方便。

【在 z****e 的大作中提到】
: 我尝试了一下用kill -3 PID > test.txt去获取thread dump
: 但是貌似不行,只能用jstack PID > test.txt才可以

y******u
发帖数: 804
4
大家可以考虑玩玩 Java Mission Control, 而且会越来越强大的赶脚
http://www.oracle.com/technetwork/java/javaseproducts/mission-c
1 (共1页)
进入Java版参与讨论
相关主题
paint()呀,repaint()呀thread independent on a single-cpu machine?
农民运动讲习所1. Thread and paint()Thread对应的input和output问题
FrameWork of Thread application 1multi-threading guru们 (转载)
Re: Help!!! Java in Unix. Thread. I need exit and ls concurrently runn怎么学multithreading/concurrency?
多少个thread 就算不正常?one multi-threading question
Re: How to lock a file and detect a thread is over?question about using Runtime.getRuntime.exec() in Tomcat
[转载] 现在还有什么OS不是THREAD级调度的吗?有人在 Win7 上用 Tomcat 吗?
java thread questionRe: native thread 和green thread
相关话题的讨论汇总
话题: jstack话题: dump话题: thread话题: pid话题: 只能