Documentation Contents
Java SE Monitoring and Management Guide


October 2006
--

Document Information

Preface

1.  Overview of Java SE Monitoring and Management

Key Monitoring and Management Features

Java VM Instrumentation

Monitoring and Management API

Monitoring and Management Tools

Java Management Extensions (JMX) 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 Out-of-the-Box Management

Local Monitoring and Management

Local Monitoring and Management Using JConsole

Remote Monitoring and Management

Using 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 Disabled

Remote Monitoring with JConsole with SSL Enabled

Using Password and Access Files

Password Files

Access Files

Out-of-the-Box Monitoring and Management Properties

Configuration Errors

Connecting to the JMX Agent Programmatically

Setting up Monitoring and Management Programmatically

Mimicking Out-of-the-Box Management Using the JMX Remote API

Example of Mimicking Out-of-the-Box Management

Monitoring Applications through a Firewall

Using 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

Dynamic Attach

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 Non-Heap 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 via the ManagementFactory Class

Accessing Platform MXBeans via an MXBean Proxy

Accessing Platform MXBeans via the MBeanServerConnection Class

Using Oracle JDK's Platform Extension

Accessing MXBean Attributes Directly

Accessing MXBean Attributes via 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

A.  Additional Security Information For Microsoft Windows

How to Secure a Password File on Microsoft Windows Systems

To Secure a Password File on Windows XP Professional Edition

To Secure a Password File on Windows XP Home Edition


Oracle and/or its affiliates Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.
Contact Us