Sun Java System Portal Server 7 Command-Line Reference

Examples


Example 5–1 get-monitoring-mbeans-information -u amadmin -f ./password -p portal1 -i nicp104_80 -t MonitoringConfiguration gives

This command outputs:


com.sun.portal:type=MonitoringConfiguration
DESCRIPTION

Portal Server (PS) Monitoring

ATTRIBUTES
Name: UseJavaPlatformMBeanServer
Description: JDK 5.0: Use Java Platform MBeanServer. If enabled, 
Java Management Instrumentation is accessible via PS CLI.
Type: java.lang.Boolean
Readable: true
Writable: true

Name: Disable
Description: Disable PS Monitoring. If PS Monitoring is disabled, 
you will not be able to get PS statistics.
Type: java.lang.Boolean
Readable: true
Writable: true

Name: HtmlAdaptorPort
Description: JMX HTML Adaptor Port. If 0, JMX HTML Adaptor is disabled. 
JMX HTML Adaptor is useful for debugging, only if PS CLI is not of 
good help.
Type: java.lang.Integer
Readable: true
Writable: true

Name: ConnectorServerPort
Description: JMX Connector Server Port. PS CLI uses this port to 
connect to JMX MBeanServer and to fetch PS statistics information.
Type: java.lang.Integer
Readable: true
Writable: true

OPERATIONS
Name: reset
Description: Reset operation removes previously collected PS 
statistics. PS statistics will be collected if PS Monitoring has been
 enabled.
Type: void
Signature
        No parameters found


Name: destroy
Description: Destroy operation destroys PS statistics. Please make
 sure you've disabled PS Monitoring before calling this operation.
Type: void
Signature
        No parameters found


Name: getRegistry
Description: Returns a Map of [ObjectName, Object] for quick use inside 
Portal Monitoring Subsystem. Please note that not all Portal Monitoring 
MBeans participate in such registry.
Type: java.util.Map
Signature
        No parameters found


NOTIFICATIONS
Name: javax.management.AttributeChangeNotification
Description: This MBean is a JMX (javax.management.)
NotificationBroadcaster, and emits javax.management.
AttributeChangeNotifcation for its attributes.
Notification types: jmx.attribute.change