VisualVM

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Internal

Overview

VisualVM is a graphical tool that ships with Oracle JDK 6 and newer, allowing for visualization of various internal JVM metrics (memory, threads, application’s JMX interfaces).

Installation

VisualVM comes as part of the Java SDK, so it is installed by default.

Running

Assuming the $JAVA_HOME/bin is in your PATH, VisualVM can be run by simply executing:

jvisualvm

VisualVM and jstatd

VisualVM is apparently able to auto-discover JVMs running on remote hosts with the help of jstatd. Expand this section when I am in the situation to use it.

Visual VM and WildFly

Using VisualVM with WildFly