jcmd — start here
jcmd <pid> help
jcmd <pid> Thread.print
jcmd <pid> GC.heap_info
jcmd <pid> JFR.start duration=60s filename=recording.jfr
The rest of this guide is part of Pro
Free covers every fresher guide in full. Pro unlocks Senior, Staff and Architect guides across every track.
Still to come · 2 sections
- jstat — GC at a glance
- JFR & JMC
Test yourself
Answer these before moving on — recall is what makes it stick.