WebSphere Extended Deployment, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows, z/OS

統計範囲

統計範囲として、累積統計またはアクティブ統計という 2 つのタイプの統計があります。累積統計は、区画内でトランザクションの統計を追跡します。アクティブ統計は、最新の期間にわたって統計を追跡します。例えば、この 15 秒間に発生したトランザクション数を追跡できます。

wpfAdmin.bat|wpfadmin setStatisticsRange [cumulative|active] --id PMI_SUBSCRIPTION_ID」を使用すると、1 つの PMI サブスクリプションに統計範囲を設定できます。

また、Java コード、jacl スクリプト、または jython スクリプトを使用して、 com.ibm.websphere.wpf.jmx.WPFJMX MBean インスタンスを取得し、その MBean を使用して統計範囲を変更することもできます。

  1. wpfadmin setStatisticsRange active --id 1 を実行して、統計範囲を累積からアクティブに変更します。
  2. wpfadmin getTransactionCount --id 1」を実行して、統計を取得します。以下の出力が得られます。
    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   0
    
    
    最新の 60 秒間のトランザクション統計を記録するように、アクティブ統計が計算されます。最新の 60 秒間では、トランザクションは生成されていません。そのため、トランザクション数と応答時間が 0 になっています。
  3. コマンド・ウィンドウを開き、クライアントを実行してトランザクションをもう一度生成します。
    <Install_root>¥bin¥launchClient
    <Install_root>/installedApps/<CELL_NAME>/WPFSimpleSample.ear
    -CCproviderURL=orbaloc::HOSTNAME:SERVER_RMI_PORT
  4. 以下のように出力されるまで wpfadmin getResponseTime --id 1 を実行して、統計を取得し続けます。
    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
    
  5. wpfadmin setStatisticsRange cumulative --id 1 を実行して、範囲をアクティブから累積に変更します。
  6. もう一度統計を取得した場合は、トランザクション数が 6 になった異なる出力が得られます。



Related concepts
区画化機能 PMI 統計パラメーター

Reference topic    

Terms of Use | Feedback Last updated: Mar 20, 2006 12:35:11 PM EST
http://publib.boulder.ibm.com/infocenter/wxdinfo/v6r0/index.jsp?topic=?topic=/com.ibm.websphere.xd.doc/info/WPF51/rwpfStatisticsrange.html

© Copyright IBM 2005, 2006. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)