특정 파티션 또는 서버의 PMI 통계에 관심이 있는 경우 wsadmin 도구 또는 JMX MBean을 사용하여 직접 검색할 수 있습니다.
PMI_SUBSCRIPTION_ID는 파티션 기능 PMI를 등록할 때 확보한 클라이언트 ID입니다. --top 옵션을 사용하면 UNIX top 명령과 같이 지정된 새로 고치기 간격마다 출력이 갱신됩니다. 또한 Java 코드, Jacl 스크립트 또는 Jython 스크립트를 사용하여 10.5.2에 표시된 예와 유사한 통계를 확보하도록 WPFJMX MBean을 얻을 수 있습니다.
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은 Application Server가 있는 호스트 이름이고 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
성능 모니터링