Show TOC

Monitoring a Project with UtilitiesLocate this document in the navigation structure

Use the command-line interface to monitor project performance.

The streamingmonitor tool reads performance data from a running instance of the project server and displays it on standard output. Monitoring data is only available if the time-granularity option is enabled. Set the option in one of three ways:
  • Directly in the project configuration (CCR) file.
  • Using the server view of the Studio SAP ESP Run-Test perspective.
  • Using the time_granularity command of the streamingprojectclient utility. See streamingprojectclient in the SAP Event Stream Processor: Utilities Guide for more information.

The time-granularity option specifies, in seconds, how often the set of performance records — one per stream and one per gateway connection — is obtained from the running Event Stream Processor. By default, time-granularity is set to 5. To increase performance, disable the time-granularity project option when monitoring is not required. For more information on configuring projects with the SAP Event Stream Processor Studio, see Project Configurations.

Note The streamingprojectclient stream contains basic information about the connected clients, but performance-related fields are populated only with the monitoring option.
For example, to monitor a project running in a cluster that has a manager node on the host "myhost.sybase.com" with RPC port 31415, use the following command:
streamingmonitor -p myhost.sybase.com:31415/<workspace-name>/<project-name>
    
You can also use streamingsubscribe to monitor the status of project streams through heartbeat messages. To monitor ESP heartbeat messages, use the following command:
streamingsubscribe -p localhost:11180/default/prj1 -H

For more information on the streamingmonitor and streamingsubscribe tools, see the SAP Event Stream Processor: Utilities Guide.