javavisualvm

JVisualVM for Linux console?


I need to be able to do some memory sampling on a VM that's running on a linux box that doesn't have any XWindows running. I've tried to do it remotely but apparently JVisualVM does not support remote memory sampling.

What are my alternatives?

Thanks!


Solution

  • It depends on what type of sampling you want. jmap console tool (from JDK bin folder) allows some kind of memory dumping etc.