![]() Previous |
![]() Next |
An attribute represents a piece of information relevant to an MBean's management purpose; for example, a data item that you can plot on the graphs.
To add an attribute
Click Add.
The Attribute Selector window appears (Figure: Attribute Selector).
Identify the Java package that contains the attribute you want to monitor, click it, and expand the tree; for example, if you want to plot the thread count, you would expand the Threading package, as shown in Figure: Expanding the Preferred Attribute.
Click OK.
The Attribute Selector window disappears and the selected attribute appears in the graph or table's legend or on the list for which you selected it.
To change the color of an attribute:
Select the attribute you want to change. On a graph or table, you would select it from the legend; on a list, you would select it directly from the list.
Right-click the legend and select Edit color.
Pick a new color in the Color window or define your own.
Click OK.
To change the pre-multiplier of an attribute:
A pre-multiplier is a number that the graphs will use to multiply the real value before plotting it in the graph. For example, CPU usage has a value between 0 and 1 that is converted to a percentage by setting the pre-multiplier to 100.
Select the attribute for which you want to change the pre-multiplier.
Right-click the legend and select Edit pre-multiplier.
Enter a new value for the multiplier.
Click OK.
To remove an attribute:
Select the attribute you want to delete. On a graph or table, you would select it from the legend; on a list, you would select it directly from the list.
Click Remove.