How to save the history for the CPU and Memory profile

How to save the history for the CPU and Memory profile

book

Article ID: KB0074906

calendar_today

Updated On:

Products Versions
TIBCO Streaming 7

Description

How do I save the history for the CPU and Memory profile?

Resolution

You can write a client that reads the same performance information which is used by 'sbmonitor' and writes that info to a file. Please see:

  Developing StreamBase Monitor Applications
  http://docs.streambase.com/latest/index.jsp?topic=/com.streambase.sb.ide.help/data/html/apiguide/monitorapi.html

The absolute CPU usage is not available, but instead a measure of how much relative time the processing thread remained in each operator. Memory use is reported in number of tuples processes and will need to be multiplied out by the schema size in use to get a rough estimate of KB/MB used.

The snapshot size of queues can be derived from aggregate number of tuples-out minus number of tuples-in.

Issue/Introduction

How to save the history for the CPU and Memory profile