Home JBoss howto JMX How to monitor JBoss with snapshots?
12 | 03 | 2010
JBoss 5 AS Book
"JBoss AS 5 development" reviews
Please share your feedback/review with other readers!
Banner
Dashboard
Advertise with Us
Banner
RSS Feed
Login
Sign here for the NewsLetter.



Poll
What book could be in your wish list next XMas ?
 
JBoss admin resources
Banner
JBoss howto

How can you solve deployment errors caused by large war/jar/ear files ?

jboss recipe of the day ...
Read More

How do you configure your .war to be deployed after your EJB ?

jboss recipe of the day ...
Read More

How do I configure a Queue/Topic to work in a cluster?

JBoss recipe of the day ...
Read More
How to monitor JBoss with snapshots?
Written by Mark S.   

JBoss recipe of the day

JBoss gives you the ability to capture data not only in real time but also over regular intervals.
You can start or stop the data collection process according to your needs. Then you can return later to analyze the collected values.

To create a snapshot open the Web Console and point to the JMX MBean you want to monitor.
Then choose the Create Snapshot menu item on the specific attribute you want to monitor.

jboss snapshot
You’ll be presented with a simple configuration form. You only need to enter the measurement time
period. This is the time between measurements, in milliseconds. To monitor the value every 100ms enter 100 in the corresponding text field and click the Create button.

jboss monitoring

To start the snapshot of memory usage, click the Start Snapshot button.
Wait a few seconds for JBoss to collect measurements. Now you should see your snapshot available in the upper Monitoring Menu:

jboss monitor
Ok, now click on the Snapshot : you might analyze it graphically or display the collected data.
The Graph Dataset button will give you a graph like the one shown in.

Notice that the graph isn’t a live graph. It’s a fixed graph of the data collected up to that point. This graph will give you a good idea of what happened over the specified time period. If you need better analysis capabilities, click Show Dataset, which displays all the collected data. You can select the data in the dataset view, and copy and paste it to an application such as Excel that can perform more sophisticated numerical analysis.


JBoss.org Search
Custom Search
Comments
Search
Only registered users can write comments!

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."