...
Code Block |
---|
jstack 1 > /tmp/volcadohilosthreaddump.txt |
This will generate the thread dump in the /tmp/threaddump.txt
file.
Code Block |
---|
jmap -dump:format=b,file=/tmp/volcadomemoriamemorydump.hprof 1 |
This will result in the memory dump in the /tmp/memorydump.hprof
file.
...
Code Block |
---|
kubectl cp controlpanelservice-b-7b47bff6c8-64h9d:/tmp/volcadohilosthreaddump.txt volcadohilosthreaddump.txt kubectl cp controlpanelservice-b-7b47bff6c8-64h9d:/tmp/volcadomemoriamemorydump.hprof volcadomemoriamemorydump.hprof |
...
Analysing thread dumps with JStack
...