JavaFAQ Home » Java Tools
Question: What is jvmstat?
Answer: The jvmstat technology adds light weight performance and
configuration instrumentation to the HotSpot JVM and provides a set of
monitoring APIs and tools for monitoring the performance of the HotSpot JVM in
production environments. The instrumentation is designed such that it is 'always
on', yet has negligible performance impact. The monitoring interfaces added to
the HotSpot JVM are proprietary and may or may not be supported in future
versions of the HotSpot JVM.
Tools include a general
purpose command line tool called jvmstat, a java process list tool called jvmps,
and a generational heap visualization tool called visualgc. Remote monitoring is
supported via an RMI server application.
The instrumented HotSpot
JVM shipped with J2SE 1.4.1 as a technology preview. The instrumentation is
disabled by default, but can be easily enabled through a command line argument.
The tools included with this distribution can only monitor Java applications
running on the HotSpot 1.4.1 JVM as distributed with Sun's J2SE 1.4.1 product.
The jvmstat feature
includes a number of tools:
jvmstat - A tool to
sample and log instrumentation
jvmps - A tool
providing a simple Java process listing
visualgc - A tool to
graphically display instrumentation
perfagent - A server
providing remote access to instrumentation
tip is based on
Printer Friendly Page
Send to a Friend
Search here again if you need more info!