25.01.2015 Views

Caché Monitoring Guide - InterSystems Documentation

Caché Monitoring Guide - InterSystems Documentation

Caché Monitoring Guide - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

URL for the <strong>Monitoring</strong> Web Service<br />

• wse:Subscribe<br />

• wse:Renew<br />

• wse:Unsubscribe<br />

For more information, see the WS-Management specification (http://www.dmtf.org/standards/published_documents/DSP0226_1.1.pdf).<br />

D.3 URL for the <strong>Monitoring</strong> Web Service<br />

For a given <strong>Caché</strong> instance, the <strong>Caché</strong> <strong>Monitoring</strong> Web Service is available at the following URL:<br />

http://server:port/csp/sys/SYS.WSMon.Service.cls<br />

Where server is the server on which <strong>Caché</strong> is running and port is the port that the <strong>Caché</strong> web server uses. For example:<br />

http://localhost:57772/csp/sys/SYS.WSMon.Service.cls<br />

Similarly, the WSDL for this web service is available at the following URL:<br />

http://server:port/csp/sys/SYS.WSMon.Service.clsWSDL=1<br />

D.4 Web Methods of the <strong>Monitoring</strong> Web Service<br />

The SYS.WSMon.Service class provides the following web methods:<br />

EnumBuffer()<br />

method EnumBuffer() as %XML.DataSet<br />

Returns an instance of %XML.DataSet that enumerates the statistics for all buffer sizes. For this instance, the dataset<br />

uses the Sample() class query of the SYS.Stats.Buffer class.<br />

For information on working with %XML.DataSet, see the chapter “Projecting Datasets to XML” in Projecting<br />

Objects to XML or see the class reference for %XML.DataSet.<br />

Also see the class reference for SYS.Stats.Buffer.<br />

EnumDatabase()<br />

method EnumDatabase() as %XML.DataSet<br />

Returns an instance of %XML.DataSet that enumerates all databases for this instance. For this instance, the dataset<br />

uses the List() class query of the SYS.WSMon.wsDatabase class.<br />

See the comments for EnumBuffer() and see the class reference for SYS.WSMon.wsDatabase.<br />

EnumResource()<br />

method EnumResource() as %XML.DataSet<br />

Returns an instance of %XML.DataSet that enumerates statistics for all system resource seizes. For this instance,<br />

the dataset uses the Sample() class query of the SYS.Stats.Resource class.<br />

<strong>Caché</strong> <strong>Monitoring</strong> <strong>Guide</strong> 125

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!