690 shaares
3 liens privés
3 liens privés
Java heap dump
Java :
jmap -dump:format=b,file=<logdump>/dump1.hprof <pid>
Jrockit :
jrcmd <pid> hprofdump filename=<logdump>/dump1.hprof
Theadump stack :
PID=12345
for ((a=1; a <= 60; a++)); do jstack $PID > thread-dump.$PID.$a; sleep 5; echo $PID.$a; done