if you have jvisualvm open, it should just involve...
# general
w
if you have jvisualvm open, it should just involve switching to the 'Sampler' tab, then clicking 'CPU'