visualgc

A few JavaOne’s ago, I saw a presentation about visualgc. It’s a visual monitoring on heap usage in a JVM. It’s a cool tool for those who prefer to look at screen full of animating charts rather than scrolling numbers. See below for a screen capture. It’s not bundled with Java SE, so you will have grab it from here. Once you downloaded it, upload it to the target system under stress, then you can run it with a command similar to the following:

<jvmstat_home_dir>/bin/visualgc <pid>

You should see 3 windows pop up that looks just like the image below. If you forward the display to another machine, it will add network traffic. You might not want to do this if your network is under heavy load. Try jstat instead.

visualgc

Advertisements

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