Inspirel banner

Programming Distributed Systems with YAMI4

7.3.4 Get Statistics

The "get statistics" command allows the client to obtain the run-time statistics of the queue server. The "get statistics" message has the following format:

Object name: "stats".

Message name: "get-basic" for basic statistics or "get-details" for detailed data.

Message content: ignored.

After receiving this message, the queue server replies with the amount of information that depends on the requested level of details.

For basic information the parameters object in reply contains the following fields:

If the detailed data is requested, then in addition to the above fields, the queue server fills the reply parameters object with equally sized arrays: