Topic
  • 4 replies
  • Latest Post - ‏2013-05-09T16:13:21Z by Cauhape
Rex-Miami
Rex-Miami
3 Posts

Pinned topic Efficient way to get stats for a single PE

‏2013-04-26T14:18:33Z |

Streamtool capturestate can select a specific job, but cannot select a specific PE.  I noticed that StreamStudio can efficiently get PE statisics in real time.  How does it do that?  Is there another command or API that can retrieve PE metrics?

  • danlopezv
    danlopezv
    22 Posts

    Re: Efficient way to get stats for a single PE

    ‏2013-04-26T15:55:16Z  

    You can try

    streamtool lspes

    streamtool displaype <pe-id>

    You can also get detailed information on commands using

    streamtool man command

    Regards,

    Daniel Lopez

  • Rex-Miami
    Rex-Miami
    3 Posts

    Re: Efficient way to get stats for a single PE

    ‏2013-04-26T16:27:27Z  
    • danlopezv
    • ‏2013-04-26T15:55:16Z

    You can try

    streamtool lspes

    streamtool displaype <pe-id>

    You can also get detailed information on commands using

    streamtool man command

    Regards,

    Daniel Lopez

    I don't see any metrics from displaype.

    PE settings:
      PE ID: 436
      Job ID: 6
      Job name: com.sprint.etos.cdr::Main
      Status: Running
      Status reason: None
      Health: Healthy
      Required connections: Connected
      Optional connections: Connected
      Host: ddalb943.dev.sprint.com
      Process ID: 29729
      Host tags: cdr_lookup
      Movable: false
      Restartable: false
      Launch count: 1
      Tracing: error
      Operators: BL.FilterfileData, BL.FilteredSink
    Ports:
      Input port ID: 1201
        Input port 1201 index: 0
        Input port 1201 transport type: TCP
     

  • danlopezv
    danlopezv
    22 Posts

    Re: Efficient way to get stats for a single PE

    ‏2013-04-26T16:34:40Z  
    • Rex-Miami
    • ‏2013-04-26T16:27:27Z

    I don't see any metrics from displaype.

    PE settings:
      PE ID: 436
      Job ID: 6
      Job name: com.sprint.etos.cdr::Main
      Status: Running
      Status reason: None
      Health: Healthy
      Required connections: Connected
      Optional connections: Connected
      Host: ddalb943.dev.sprint.com
      Process ID: 29729
      Host tags: cdr_lookup
      Movable: false
      Restartable: false
      Launch count: 1
      Tracing: error
      Operators: BL.FilterfileData, BL.FilteredSink
    Ports:
      Input port ID: 1201
        Input port 1201 index: 0
        Input port 1201 transport type: TCP
     

    Check this link for more information on the streamtool capturestate command

    http://pic.dhe.ibm.com/infocenter/streams/v3r0/index.jsp?topic=%2Fcom.ibm.swg.im.infosphere.streams.install-admin.doc%2Fdoc%2Fibminfospherestreams-capturestate-command.html

  • Cauhape
    Cauhape
    15 Posts

    Re: Efficient way to get stats for a single PE

    ‏2013-05-09T16:13:21Z  
    • Rex-Miami
    • ‏2013-04-26T16:27:27Z

    I don't see any metrics from displaype.

    PE settings:
      PE ID: 436
      Job ID: 6
      Job name: com.sprint.etos.cdr::Main
      Status: Running
      Status reason: None
      Health: Healthy
      Required connections: Connected
      Optional connections: Connected
      Host: ddalb943.dev.sprint.com
      Process ID: 29729
      Host tags: cdr_lookup
      Movable: false
      Restartable: false
      Launch count: 1
      Tracing: error
      Operators: BL.FilterfileData, BL.FilteredSink
    Ports:
      Input port ID: 1201
        Input port 1201 index: 0
        Input port 1201 transport type: TCP
     

    Rex,

    Can you list the information you would like to see about specific PEs that you're not seeing with streamtool?

    Thanks,

    Jeff