VisualVM: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
=External=
=External=
* Java 7 [http://docs.oracle.com/javase/7/docs/technotes/guides/visualvm/index.html]
* Java 6 [http://download.oracle.com/javase/6/docs/technotes/guides/visualvm/index.html]


=Internal=
=Internal=


* [[Remoting_WildFly_Subsystem_Concepts#Remoting_and_JMX_Access|WildFly Remoting Concepts - JMX Access]]
* [[Remoting_WildFly_Subsystem_Concepts#Remoting_and_JMX_Access|WildFly Remoting Concepts - JMX Access]]
* [[jstatd]]
=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:
<pre>
jvisualvm
</pre>
=VisualVM and jstatd=
<font color=red>
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.
</font>
=Visual VM and WildFly=
<blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;">
:[[Using VisualVM with WildFly]]
</blockquote>

Revision as of 18:18, 26 July 2016

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