WebSphere Extended Deployment, Version 6.0.x     운영 체제: AIX, HP-UX, Linux, Solaris, Windows, z/OS

파티션 기능 PMI 통계 검색

특정 파티션 또는 서버의 PMI 통계에 관심이 있는 경우 wsadmin 도구 또는 JMX MBean을 사용하여 직접 검색할 수 있습니다.

이 타스크의 수행 목적 및 시기

wpfadmin 명령 또는 WPFJMX MBean을 사용하여 파티션 기능 PMI 통계에 등록한 경우 다음과 같이 wpfadmin을 사용하여 통계를 검색할 수 있습니다.
  • wpfadmin.bat|wpfadmin getTransactionCount --id PMI_SUBSCRIPTION_ID
  • --top REFRESH_INTERVAL.
  • wpfadmin.bat|wpfadmin getResponseTime --id PMI_SUBSCRIPTION_ID
  • --top REFRESH_INTERVAL.
  • REFRESH_INTERVAL.
  • wpfadmin.bat|wpfadmin getFailedTransactionCount --id PMI_SUBSCRIPTION_ID

PMI_SUBSCRIPTION_ID는 파티션 기능 PMI를 등록할 때 확보한 클라이언트 ID입니다. --top 옵션을 사용하면 UNIX top 명령과 같이 지정된 새로 고치기 간격마다 출력이 갱신됩니다. 또한 Java 코드, Jacl 스크립트 또는 Jython 스크립트를 사용하여 10.5.2에 표시된 예와 유사한 통계를 확보하도록 WPFJMX MBean을 얻을 수 있습니다.

  1. PMI 데이터를 확보하는 다음 명령을 실행하십시오.
    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 데이터가 없으므로 통계 데이터가 표시되지 않습니다. 이제 클라이언트를 실행하여 일부 통계를 생성할 수 있습니다.
  2. 새 명령 창 또는 쉘을 열고 다음 명령을 실행하십시오.
    <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
    
  3. 총계기가 통계를 정렬하도록 최소한 1 - 2분을 대기한 후 wpfadmin getResponseTime -id 1을 다시 실행하십시오. 다음의 출력이 표시됩니다.
    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
성능 모니터링

타스크 주제    

이용 약관 | 피드백 마지막 갱신 날짜: Mar 21, 2006 11:38:53 AM EST
http://publib.boulder.ibm.com/infocenter/wxdinfo/v6r0/index.jsp?topic=?topic=/com.ibm.websphere.xd.doc/info/WPF51/twpfpmistatretrieve_pdf.html

© Copyright IBM 2005, 2006. All Rights Reserved.
이 Information Center는 Eclipse 테크놀러지로 강화되었습니다. (http://www.eclipse.org)