![]() Previous |
You can change preferences for updating frequency, persistence directory, maximum log size, and so on, for the JMX Console.
To change communication settings:
Click Window then Preferences then Java Mission Control then JMX Console and then Communication.
Set the communication options for the JMX Console.
Default update interval [ms]: This is the time interval that the JMX Console updates displayed information.
Update interval for profiling information [ms]: This is the time interval that the JMX Console uses to update certain profiling information, for example, the information in the Memory Pools tab.
Update interval for thread stacks [ms]: This indicates how much time will elapse between thread stack updates.
Mail server (SMTP): This is the mail server that is used when, for example, sending notifications.
Mail server port: The port number to be used for the specified mail server.
Secure mail server (SSL): Specify whether the communication through the SMTP server should use SSL or not.
Mail server user: This is the e-mail address that is used as the sender address when the system sends notifications.
Mail server password: The password to be used for the specified e-mail address.
Click Apply.
To change MBean browser settings:
Click Window then Preferences then Java Mission Control then JMX Console and then MBean Browser.
The following properties can be set:
MBean property key order override/MBean suffix property key order override: These settings determine the order in which the MBean names are sorted in the MBean tree. If you update these settings, the MBean information on the Metadata tab in the MBean browser will also be updated even though the creation order (how the properties were specified when the MBean was registered) remains the same. You can specify the properties which should always appear at the start and at the end of the MBean name and also the order in which they should appear in the MBean browser.
Aggregate size: This size specifies the number of entries in a collection or array in the Attribute tab of the MBean browser. Grouping the entries simplifies the browsing of very large collections. For example, in a collection of size 18, by default, you can see one row for each entry indexed 0-17. If you change the Aggregate Size to 10, you get two groups indexed 0-9 and 10-17. Each of these groups displays entries belonging to that group. If you set the Aggregate Size to 2, you get three top-level groups indexed [0-7], [8-5] and [16-17]. The [0-7] group is expanded to the groups [0-3] and [4-7]. The [0-3] group again expands to [0-1] and [2-3]. Each of these groups holds two actual entries.
Click Apply.
To change persistence settings:
Click Window then Preferences then Java Mission Control then JMX Console and then Persistence.
The following properties can be set:
Persistence directory: Where the JMX Console saves the persisted values of attributes (in the attribute subscription log file). Values that are saved are, for example, any changes that you make to MBeans, such as name changes. If problems arises with the log files, you can delete them and then have the JMX Console create a new one for you.
Enable log rotation: When enabling log rotation, you can set a size for the persisted log. By doing so, you let the JMX Console create a new log file as soon as the limit is reached.
Limit maximum log size: When combining the log rotation setting with a setting for the maximum log file size, you will enable full log rotation, i.e. the JMX Console will delete the oldest log file as soon as the maximum log file size limit is reached. You will always know how much space the log files take on your computer.
Click Apply.