WebSphere eXtreme Scale (formerly Data Grid), Version 6.1
             Operating Systems: AIX, HP-UX, Linux, Solaris, Windows, z/OS


Subscribe to partitioning facility PMI statistics using the wpfadmin command

You can use wpfadmin commands to subscribe to the partitioning facility PMI statistics:

wpfadmin.bat|wpfadmin subscribeWPFPMI 
    STATISTICS_RANGE 
    STATISTICSS_TYPE 
    APPLICATION_NAME 
    SESSIONEJB_NAME 
    PARTITION_COUNT 
    AGGREGATION_INTERVAL
    --c CLUSTER_NAME
where:
STATISTICS_RANGE
The statistics range, which can be cumulative or active.
STATISTICSS_TYPE
The statistics type, which can be TransactionCount, ResponseTime, or FailedTransactionCount.
APPLICATION_NAME
The name of the application.
SESSIONEJB_NAME
The name of the session EJB.
PARTITION_COUNT
The number of partitions users are interested in.
AGGREGATION_INTERVAL
The statistics aggregation interval.
CLUSTER_NAME
The name of the cluster where the application runs. If the PMI specification level in any server of this cluster is not set to H, subscribeWPFPMI will fail.

The output of this command will display the subscription client ID. This client ID is very important. It is the handle to your subscribed PMI interest. Any changes to this PMI interest or PMI data retrieval will require this handle.

For example, if you are interested in the top five partitions that have had the longest total response time in the past, or want this PMI data updated every 60 seconds, you can run the following command to subscribe to the PMI interest:
wpfadmin subscribeWPFPMI cumulative ResponseTime WPFKeyBasedPartitionSample 
WPFKeyBasedPartition 5 60000
You will see the following output:
WPFC0040I: WPF PMI has been subscribed with options range=cumulative, 
type=ResponseTime, application name=WPFKeyBasedPartitionSample, 
ejb name=WPFKeyBasedPartition, partition count=5, interval=60000
WPFC0041I: Your client id is 1. Use this in future wpfadmin PMI calls.
The client ID is displayed as 1.



Related concepts
Partitioning facility PMI statistics subscription
Reference topic    

Terms of Use | Feedback

Last updated: Oct 30, 2009 6:09:57 PM EDT
http://publib.boulder.ibm.com/infocenter/wxdinfo/v6r1/index.jsp?topic=/com.ibm.websphere.dataint.doc/info/WPF51/rwpfsubscribepmistatswpfadmin_pdf.html