特定の区画またはサーバーの PMI 統計は、wsadmin ツールまたは JMX MBean を使用して直接取得することができます。
PMI_SUBSCRIPTION_ID は、区画化機能 PMI をサブスクライブするときに取得するクライアント ID です。--top option を使用する場合、 Unix の top コマンドのように、指定された最新表示間隔ごとに、出力が更新されます。 また、Java コード、jacl スクリプト、または jython スクリプトを使用して、 WPFJMX MBean を取得し、10.5.2 に示される例に似た統計を取得することもできます。
wpfadmin getResponseTime --id 1以下の出力が表示されます。
WPFC0065I: Id set to 1 PartitionName TotalResponseTime TransactionCount MinTime MaxTime StartTime SumOfSquaresWPFC0045I: No statistics are available! Please wait and try again.まだシステムには PMI データがないため、統計データは表示されません。 ここで、クライアントを実行して、統計をいくつか生成することができます。
<ND_install_root>/bin/launchClient <ND_install_root>/installedApps/<CELL_NAME>/WPFKeyBasedPartitionSample.ear -CCproviderURL=orbaloc::HOSTNAME:SERVER_RMI_PORTここで、HOSTNAME はアプリケーション・サーバーのあるホストの名前、 SERVER_RMI_PORT はそのサーバーの RMI ポートで、 例えば 9811 です。クライアントが実行され、以下のような出力が表示されます。
IBM WebSphere Application Server, Release 5.1 J2EE Application Client Tool Copyright IBM Corp., 1997-2003 WSCL0012I: Processing command line arguments. WSCL0013I: Initializing the J2EE Application Client Environment. WSCL0035I: Initialization of the J2EE Application Client Environment has completed. WSCL0014I: Invoking the Application Client class com.ibm.websphere.wpf.client.WPFKeyBasedPartitionClient Create Partitions from PK000001 to PK000010 1st call: PK000001->partiton=PK000001,server=Tiger1/clus1srv1 2nd call: PK000001->partiton=PK000001,server=Tiger1/clus1srv1 3rd call: PK000001->partiton=PK000001,server=Tiger1/clus1srv1 1st call: PK000002->partiton=PK000002,server=Tiger1/clus1srv1 2nd call: PK000002->partiton=PK000002,server=Tiger1/clus1srv1 3rd call: PK000002->partiton=PK000002,server=Tiger1/clus1srv1 1st call: PK000003->partiton=PK000003,server=Tiger1/clus1srv1 2nd call: PK000003->partiton=PK000003,server=Tiger1/clus1srv1 3rd call: PK000003->partiton=PK000003,server=Tiger1/clus1srv1 1st call: PK000004->partiton=PK000004,server=Tiger1/clus1srv1 2nd call: PK000004->partiton=PK000004,server=Tiger1/clus1srv1 3rd call: PK000004->partiton=PK000004,server=Tiger1/clus1srv1 1st call: PK000005->partiton=PK000005,server=Tiger1/clus1srv1 2nd call: PK000005->partiton=PK000005,server=Tiger1/clus1srv1 3rd call: PK000005->partiton=PK000005,server=Tiger1/clus1srv1 1st call: PK000006->partiton=PK000006,server=Tiger1/clus1srv1 2nd call: PK000006->partiton=PK000006,server=Tiger1/clus1srv1 3rd call: PK000006->partiton=PK000006,server=Tiger1/clus1srv1 1st call: PK000007->partiton=PK000007,server=Tiger1/clus1srv1 2nd call: PK000007->partiton=PK000007,server=Tiger1/clus1srv1 3rd call: PK000007->partiton=PK000007,server=Tiger1/clus1srv1 1st call: PK000008->partiton=PK000008,server=Tiger1/clus1srv1 2nd call: PK000008->partiton=PK000008,server=Tiger1/clus1srv1 3rd call: PK000008->partiton=PK000008,server=Tiger1/clus1srv1 1st call: PK000009->partiton=PK000009,server=Tiger1/clus1srv1 2nd call: PK000009->partiton=PK000009,server=Tiger1/clus1srv1 3rd call: PK000009->partiton=PK000009,server=Tiger1/clus1srv1 1st call: PK000010->partiton=PK000010,server=Tiger1/clus1srv1 2nd call: PK000010->partiton=PK000010,server=Tiger1/clus1srv1 3rd call: PK000010->partiton=PK000010,server=Tiger1/clus1srv1
WPFC0065I: Id set to 1 PartitionName TtlRspnsTm TrnsctnCnt MinTime MaxTime StartTime SumOfSqrs PK000004 1625 3 7 903 1094180666309 1226203 PK000010 1543 3 260 671 1094180667170 892385 PK000005 1423 3 51 965 1094180666389 1099475 PK000008 932 3 99 482 1094180666990 365326 PK000002 862 3 217 364 1094180666038 258546応答時間はランダム値として生成されるので、出力の TotalResponseTime は上記のものと異なる場合があります。
Related concepts
パフォーマンスのモニター