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

Recuperación de estadísticas PMI de Partitioning Facility

Si está interesado en las estadísticas PMI de una determinada partición o servidor, puede recuperarlas directamente mediante la herramienta wsadmin o el JMX MBean.

Por qué y cuándo se efectúa esta tarea

Si ha suscrito a las estadísticas PMI de Partitioning Facility con el mandato wpfadmin o WPFJMX MBean, puede utilizar wpfadmin para recuperar las estadísticas:
  • wpfadmin.bat|wpfadmin getTransactionCount --id ID_SUSCRIPCIÓN_ID
  • --top INTERVALO_RENOVACIÓN.
  • wpfadmin.bat|wpfadmin getResponseTime --id ID_SUSCRIPCIÓN_PMI
  • --top INTERVALO_RENOVACIÓN.
  • INTERVALO_RENOVACIÓN
  • wpfadmin.bat|wpfadmin getFailedTransactionCount --id ID_SUSCRIPCIÓN_PMI

ID_SUSCRIPCIÓN_PMI es el ID de cliente que se obtiene cuando se suscribe a PMI de Partitioning Facility. Si utiliza --top opcion, la salida se actualiza cada intervalo de renovación especificado, como el mandato top de UNIX. Además, también puede utilizar código Java, script jacl o script jython para que el WPFJMX MBean obtenga las estadísticas parecidas a los ejemplos que se muestran en 10.5.2.

  1. Ejecute el siguiente mandato para obtener los datos PMI.
    wpfadmin getResponseTime --id 1
    Aparecerá la siguiente salida:
    WPFC0065I: El ID se ha establecido en 1
    
    PartitionName TotalResponseTime TransactionCount  MinTime  MaxTime  
    StartTime  SumOfSquaresWPFC0045I: No hay estadísticas disponibles.
    Espere y vuelva a intentarlo.
    
    Los datos de estadísticas no se visualizan porque todavía no hay datos PMI en el sistema. Ahora ya se puede ejecutar el cliente para generar algunas estadísticas.
  2. Abra un nuevo shell o ventana de mandatos y ejecute el siguiente mandato:
    <raíz_instalación_ND>/bin/launchClient
    <raíz_instalación_ND>/installedApps/<NOMBRE_CÉLULA>
    /WPFKeyBasedPartitionSample.ear
    -CCproviderURL=orbaloc::NOMBRE_SISTPPAL:PUERTO_RMI_SERVER
    donde, NOMBRE_SISTPPAL es el nombre del sistema principal que tiene el servidor de aplicaciones y PUERTO_RMI_SERVIDOR es el puerto RMI de dicho servidor, por ejemplo, 9811. Verá que el cliente se ejecuta con una salida parecida a la siguiente:
    IBM WebSphere Application Server, Release 5.1
    J2EE Application Client Tool
    Copyright IBM Corp., 1997-2003
    WSCL0012I: Procesando argumentos de línea de mandatos.
    WSCL0013I: Inicializando J2EE Application Client Environment.
    WSCL0035I: La inicialización de J2EE Application Client Environment
     ha finalizado.
    WSCL0014I: Invocando la clase de Cliente de aplicaciones
    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. Espere de uno a dos minutos como mínimo para que el agregador ordene las estadísticas y, a continuación, ejecute wpfadmin getResponseTime -id 1 de nuevo. Aparecerá la siguiente salida.
    WPFC0065I: El ID se ha establecido en 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
    Tenga en cuenta que es posible que el TotalResponseTime de su salida sea distinto del que aparece aquí, ya que el tiempo de respuesta se genera como un valor aleatorio.



Related concepts
Supervisión del rendimiento

Tema de tarea    

Condiciones de uso | Comentarios Última actualización: Mar 14, 2006 11:07:33 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. Reservados todos los derechos.
Este centro de información se ha realizado con tecnología de Eclipse. (http://www.eclipse.org)