<serverStatus uri>/servicesload[.<format>]
servicesLoad is the monitoring resource of server concurrent requests. Through this resource, you can monitor the concurrent requests of the current server, view the server loading, and know server running status.
Supported Methods:
Supported output formats: rjson, json, html, xml.
Implement the HTTP request on the following URI, where supermapiserver is the server name, with rjson being the output format.
http://supermapiserver:8090/iserver/manager/serverstatus/servicesload.rjson
View the detailed info of the server concurrent requests.
The structure of the response returned by implementing the GET request on the servicesLoad resource is as follows:
Field | Type | Description |
averageTime | int | The average response time of the server. The unit is second. |
currentCount | int | The current concurrency. |
historicalAccessCounts | int[] | Record the concurrency of server in 5 minutes. |
interval | int | The time interval of service accessing statistics. Default is 1 second. |
Implement the GET request on the servicesLoad resource http://localhost:8090/iserver/manager/serverstatus/servicesload.rjson. Return rjson results:
Asks for the response identical to the one that would correspond to a GET request, but without the response body. This is useful for retrieving meta-information written in response headers, without having to transport the entire content. The meta-information includes the media-type, content-encoding, transfer-encoding, content-length, etc.
HEAD request can be used to check if the servicesLoad resource exists, or if the servicesLoad resource can be accessed by clients. It can also determine if the servicesLoad resource supports an output format <format> if performed on a URI with .<format> included.