Go to main content
1/9
Contents
Title and Copyright Information
Preface
Audience
Documentation Accessibility
Related Documents
Conventions
1
Overview of Java SE Monitoring and Management
Key Monitoring and Management Features
Java Virtual Machine Instrumentation
Monitoring and Management API
Monitoring and Management Tools
Java Management Extensions Technology
What Are MBeans?
MBean Server
Creating and Registering MBeans
Instrumenting Applications
Platform MXBeans
Platform MBean Server
2
Monitoring and Management Using JMX Technology
Setting System Properties
Enabling the Ready-to-Use Management
Local Monitoring and Management
Local Monitoring and Management Using JConsole
Remote Monitoring and Management
Using Password Authentication
Using LDAP Authentication
Using File-Based Password Authentication
Disabling Password Authentication
Using SSL
Enabling RMI Registry Authentication
Enabling SSL Client Authentication
Disabling SSL
Disabling Security
Remote Monitoring with JConsole
Remote Monitoring with JConsole with SSL Enabled
Using Password and Access Files
Password Files
Access Files
Remote Monitoring with JConsole with SSL Disabled
Ready-to-Use Monitoring and Management Properties
Configuration Errors
Connecting to the JMX Agent Programmatically
Setting Up Monitoring and Management Programmatically
Mimicking Ready-to-Use Management Using the JMX Remote API
Example of Mimicking Ready-to-Use Management
Monitoring Applications Through a Firewall
Using an Agent Class to Instrument an Application
Creating an Agent Class to Instrument an Application
3
Using JConsole
Starting JConsole
Command Syntax
Setting Up Local Monitoring
Setting Up Remote Monitoring
Setting Up Secure Remote Monitoring
Connecting to a JMX Agent
Connecting JConsole to a Local Process
Connecting JConsole to a Remote Process
Connecting Using a JMX Service URL
Presenting the JConsole Tabs
Viewing Overview Information
Saving Chart Data
Monitoring Memory Consumption
Heap and Nonheap Memory
Memory Pools and Memory Managers
Garbage Collection
Monitoring Thread Use
Detecting Deadlocked Threads
Monitoring Class Loading
Viewing VM Information
Monitoring and Managing MBeans
Constructing the MBean Tree
MBean Attributes
MBean Operations
MBean Notifications
HotSpot Diagnostic MXBean
Creating Custom Tabs
4
Using the Platform MBean Server and Platform MXBeans
Using the Platform MBean Server
Accessing Platform MXBeans
Accessing Platform MXBeans Using the ManagementFactory Class
Accessing Platform MXBeans Using an MXBean Proxy
Accessing Platform MXBeans Using the MBeanServerConnection Class
Using Oracle JDK's Platform Extension
Accessing MXBean Attributes Directly
Accessing MXBean Attributes Using MBeanServerConnection
Monitoring Thread Contention and CPU Time
Managing the Operating System
Logging Management
Detecting Low Memory
Memory Thresholds
Usage Threshold
Collection Usage Threshold
Memory MXBean
Memory Pool MXBean
Polling
Threshold Notifications
5
SNMP Monitoring and Management
Enabling the SNMP Agent
Access Control List File
To Enable the SNMP Agent in a Single-User Environment
To Enable the SNMP Agent in a Multiple-User Environment
SNMP Monitoring and Management Properties
Configuration Errors
6
Java Discovery Protocol (JDP)
Scripting on this page enhances content navigation, but does not change the content in any way.