jstat

jstat is a Java SE bundled command-line JVM statistics monitoring tool.

To see what type of statistics you can choose from:

<jdk_home>/bin/jstat -options

To see a summary of garbage of collection statistics:

<jdk_home>/bin/jstat -gcutil <pid>

To see it every 5 seconds:

<jdk_home>/bin/jstat -gcutil <pid> 5s

For more information about jstat, see this page.

Advertisements

One thought on “jstat

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s