startStats

Description

The runtime monitor starts and monitors statistics of a given Web service collection or Web service.

Syntax

Command line:

startStats 
entity

Ant build file:

<taskdef name="wst_antTask" classname="com.sybase.wst.wstool.ant.AntTask"/>
<target name="startStats" > <wst_antTask command="startStats"
entity=”entity” >

Where:

Option

Description

entity

The entity can be either:

  • service:CollectionName/ServiceName – identifies the Web service for which statistics are monitored.

  • collection:CollectionName – identifies the Web service collection for which statistics are monitored.

Examples

Example 1

This command starts the runtime monitor and monitors statistics of MyWebServiceCollection:

wstool startStats collection:MyWebServiceCollection

Ant build example:

<wst_antTask command="startstats" entity="service:myCollection/myService"/>