Program guide > (deprecated) Partitioning facility > Manage the partitioning facility environment > Performance monitoring > Partitioning facility PMI statistics parameters
Deprecated feature: The partitioning facility (WPF) feature is deprecated. You can configure partitioning with WebSphere eXtreme Scale.
Statistics range
There are two types of statistics ranges: cumulative statistics or active statistics. Cumulative statistics track statistics from transaction one in a partition. Active statistics track statistics over the recent period. For example, you can track how many transactions occurred in the latest 15 seconds.
Users can use the following command to set the statistics range for one PMI subscription.
wpfAdmin.bat|wpfadmin setStatisticsRange [cumulative|active] --id PMI_SUBSCRIPTION_ID
User can also use Java™ code, jacl script, or jython script to get the com.ibm.websphere.wpf.jmx.WPFJMX MBean instance, and change the statistics range via the MBean.
- Execute wpfadmin setStatisticsRange active --id 1 to change the statistics range from cumulative to active.
- Retrieve the statistics by executing "wpfadmin getTransactionCount --id 1." You will get the following output:
PartitionName TrnsctnCnt TtlRspnsTm MinTime MaxTime StartTime SumOfSqrs PK000010 0 0 260 671 1094180667170 0 PK000009 0 0 21 242 1094180667070 0 PK000008 0 0 99 482 1094180666990 0 PK000007 0 0 25 200 1094180666829 0 PK000006 0 0 75 236 1094180666759 0The active statistics are calculated to record the transaction statistics in the last 60 seconds. You have not generated any transactions in the last 60 seconds. Therefore, you get the transaction count and total response time 0.
- Open a command window and run the client to generate the transactions again:
<Install_root>\bin\launchClient <Install_root>/installedApps/<CELL_NAME>/WPFSimpleSample.ear -CCproviderURL=orbaloc::HOSTNAME:SERVER_RMI_PORT
- Keep retrieving the statistics by executing wpfadmin getResponseTime --id 1 until you get the following output.
PartitionName TrnsctnCnt TtlRspnsTm MinTime MaxTime StartTime SumOfSqrs PK000010 3 1695 232 827 1094180667170 1142249 PK000009 3 2089 21 899 1094180667070 1574733 PK000008 3 1616 99 887 1094180666990 1140270 PK000007 3 1832 25 871 1094180666829 1228214 PK000006 3 2210 75 895 1094180666759 1690502
- Change the range from active to cumulative by executing wpfadmin setStatisticsRange cumulative --id 1
- Optionally, if you retrieve the statistics again, we will see a different output with transaction count as 6.
Parent topic:
Partitioning facility PMI statistics parameters
Related concepts
Partitioning facility PMI statistics parameters