Investigating 100% CPU usage

Had a server in a VM that was unresponsive, with host reporting that the VM was using 100% CPU.

Had to forcibly "Power off" the VM as i could not do anything, either from remote desktop or the host console.

Is there a tool built-in or otherwise, that i can use to see what was tying up the cpu like that?