VisualVM: Difference between revisions
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
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 and JMX | * [[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> |
Latest revision as of 18:19, 26 July 2016
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
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.