Sun Java System Instant Messaging 7 2006Q1 Administration Guide

Viewing Monitoring Data

Use JConsole to view the information exposed by the mfwk agent. JConsole is a graphical console tool that enables you to monitor and manage Java applications and virtual machines in your network. Using JConsole, you can browse the server JVM and also observe the Instant Messaging services described in Table 17–1.

For more information about using JConsole, see the JConsole man page and the “Using JConsole” chapter of Monitoring and Management for the Java Platform.

ProcedureTo View Instant Messaging Monitoring Information Using JConsole

Steps
  1. Log in as root.

  2. Set the CLASSPATH to include the location of the CAC, JConsole, and the JMX jar file.


    Note –

    The line should be entered as a single line without line breaks.


    On Solaris:


    /opt/SUNWcacao/lib/cacao_cacao.jar:/opt/SUNWjdmk/5.1/lib
    /jmxremote_optional.jar:/usr/jdk/entsys-j2se/lib/jconsole.jar

    On Linux:


    /opt/sun/cacao/share/lib/cacao_cacao.jar:/opt/sun/jdmk/5.1/lib
    /jmxremote_optional.jar:/usr/jdk/entsys-j2se/lib/jconsole.jar
  3. Run JConsole.


    Note –

    On both platforms, enter the command as a single line with a space between JConsole and “service.


    On Solaris:


    /usr/jdk/entsys-j2se/bin/java sun.tools.jconsole.JConsole
    "service:jmx:cacao-jmxmp://localhost;wellknown=true;username=root"
    

    On Linux:


    /usr/jdk/entsys-j2se/bin/java sun.tools.jconsole.JConsole
    "service:jmx:cacao-jmxmp://localhost;wellknown=true;username=root"
    
  4. On the MBeans tab, expand the XMPP tree.

    The service attributes and their values are listed within the tree. See Table 17–1 for a complete list of Instant Messaging services visible through JConsole.