Open List of QoS Monitor Data (QgyOpenListQoSMonitorData) API


  Required Parameter Group:


  Omissible Parameter Group:


  Service Program: QSYS/QTOQMONAPI

  Default Public Authority: *USE

  Threadsafe: Yes

The Open List of QoS Monitor Data (QgyOpenListQoSMonitorData) API allows the user to gather information related to QoS services. Each entry is returned according to the particular FORMAT or type of filter selected. There are three types of data that can be retrieved: Instantaneous QoS Manager Data (stack), accumulated QoS Manager Data, or an aggregate of the accumulated QoS Manager Data.

Start of changeNote: This API is not supported in V7R6M0. Calling this API will result in the error message CPF9872 (Program or service program &1 in library &2 ended. Reason code &3). End of change


Authorities and Locks

Special Authority
NONE

Required Parameter Group

Receiver Variable
OUTPUT; CHAR(*)
The receiver variable that receives the information requested.

Length of receiver variable
INPUT; BINARY(4)
The length of the receiver variable.

List information
OUTPUT; CHAR(80)
The variable used to return status information about the list of QoS monitor data that was opened. For a description of this parameter, see Open list information format.

Number of returned records
INPUT; BINARY(4)
The number of records in the list to put into the receiver variable after filtering has been performed.

Format name
INPUT; CHAR(8)
The format of the space information to be returned. The format names supported are:

Omissible Parameter Group

Filter
INPUT; CHAR(*)
The structure that defines which QoS filtered data is returned from the API.

Error code
I/O; CHAR(*)
The structure in which to return error information. For the format of the structure, see Error code parameter .

Filter Format Section

The following information is used for the filtering format. For detailed descriptions of the fields in this table, see Field Descriptions.



Field Descriptions

End time. All data in the trace buffer between a given time interval. The format is YYYYMMDDHHMMSS, and HH should be represented with a 24-hour clock. If this parameter is set to a value, then the start time also must be set to some time less then the end time. This character string must be set to x'00' if not being used and other filtering parameters are needed.

Filter flag. Turns the filtering function on and off. The following values may be specified:

Length of filter. The length of the filtering structure.

Policy flag. Returns information for a specific policy for a given format. This option can be used in two ways. If it is used, Policy name must be set to some value.

The following values may be specified:

Policy name. Returns a list of entries associated with a given name. This option can be used only when the Policy flag is set to a value of 1. This character string must be set to x'00' if not being used and other filtering parameters are needed.

Start time. Returns all data in the trace buffer between a given time interval. The format is YYYYMMDDHHMMSS, and HH should be represented with a 24-hour clock. If this parameter is set to a value, the end time also must be set to some time greater than the start time. This character string must be set to x'00' if not being used and other filtering parameters are needed.

System aggregation flag. Returns a list of all aggregated policies within a given architecture. This filter option can be used with any of the AGGRxxxx formats only. The following values may be specified:

Saved collected name. The collection data the user wishes to retrieve. If this value is blanks, or not supplied in the filter, then all data will be retrieved from the current data collection.


QOSM0100 Format

The QOSM0100 format includes the basic format of Integrated Services (IntServ) controlled load, and IntServ controlled load with Differentiated Services (DiffServ) markings. For detailed descriptions of the fields in this table, see Field Descriptions.



QOSM0101 Format

The QOSM0101 format includes the basic format of Integrated Services (IntServ) controlled load, and IntServ controlled load with Differentiated Services (DiffServ) markings. For detailed descriptions of the fields in this table, see Field Descriptions.



QOSM0150 Format

The QOSM0150 format includes the basic format of Integrated Services (IntServ) controlled load, and IntServ controlled load with Differentiated Services (DiffServ) markings. For detailed descriptions of the fields in this table, see Field Descriptions.



QOSM0151 Format

The QOSM0151 format includes the basic format of Integrated Services (IntServ) controlled load, and IntServ controlled load with Differentiated Services (DiffServ) markings. For detailed descriptions of the fields in this table, see Field Descriptions.



QOSM0200 Format

The QOSM0200 format includes the basic format of IntServ guaranteed rate and IntServ guaranteed rate with DiffServ markings (both). For detailed descriptions of the fields in this table, see Field Descriptions.



QOSM0201 Format

The QOSM0201 format includes the basic format of IntServ guaranteed rate and IntServ guaranteed rate with DiffServ markings (both). For detailed descriptions of the fields in this table, see Field Descriptions.



QOSM0250 Format

The QOSM0250 format includes the basic format of IntServ guaranteed rate and IntServ guaranteed rate with DiffServ markings (both). For detailed descriptions of the fields in this table, see Field Descriptions.



QOSM0251 Format

The QOSM0251 format includes the basic format of IntServ guaranteed rate and IntServ guaranteed rate with DiffServ markings (both). For detailed descriptions of the fields in this table, see Field Descriptions.



QOSM0300 Format

The QOSM0300 format includes the basic format of DiffServ per hop behavior. For detailed descriptions of the fields in this table, see Field Descriptions.



QOSM0301 Format

The QOSM0301 format includes the basic format of DiffServ per hop behavior. For detailed descriptions of the fields in this table, see Field Descriptions.



QOSM0350 Format

The QOSM0350 format includes the basic format of DiffServ per hop behavior. For detailed descriptions of the fields in this table, see Field Descriptions.



QOSM0351 Format

The QOSM0351 format includes the basic format of DiffServ per hop behavior. For detailed descriptions of the fields in this table, see Field Descriptions.



AGGR0100 Format

The AGGR0100 format includes the basic format of IntServ controlled load and IntServ controlled load with DiffServ markings, and is used for aggregated trace data only. For detailed descriptions of the fields in this table, see Field Descriptions.



AGGR0150 Format

The AGGR0150 format includes the basic format of IntServ controlled load and IntServ controlled load with DiffServ markings, and is used for aggregated trace data only. For detailed descriptions of the fields in this table, see Field Descriptions.



AGGR0200 Format

The AGGR0200 format includes the basic format of IntServ guaranteed rate and IntServ guaranteed rate with DiffServ markings, and is used for aggregated trace data only. For detailed descriptions of the fields in this table, see Field Descriptions.



AGGR0250 Format

The AGGR0250 format includes the basic format of IntServ guaranteed rate and IntServ guaranteed rate with DiffServ markings, and is used for aggregated trace data only. For detailed descriptions of the fields in this table, see Field Descriptions.



AGGR0300 Format

The AGGR0300 Format includes the basic format of IntServ controlled load and IntServ controlled load with DiffServ markings, and is used for aggregated trace data only. For detailed descriptions of the fields in this table, see Field Descriptions.



AGGR0350 Format

The AGGR0350 Format includes the basic format of IntServ controlled load and IntServ controlled load with DiffServ markings, and is used for aggregated trace data only. For detailed descriptions of the fields in this table, see Field Descriptions.



INBC0100 Format

The INBC0100 Format includes connection information related to inbound IP policies. For detailed descriptions of the fields in this table, see Field Descriptions.



INBC0101 Format

The INBC0101 Format includes connection information related to inbound IP policies. For detailed descriptions of the fields in this table, see Field Descriptions.



INBC0200 Format

The INBC0200 Format includes connection information related to URI inbound policies. For detailed descriptions of the fields in this table, see Field Descriptions.



INBC0201 Format

The INBC0201 Format includes connection information related to URI inbound policies. For detailed descriptions of the fields in this table, see Field Descriptions.



Field Descriptions

The field descriptions returned by this API for the various format types follows.

Actual calculated rate. Actual calculated rate in bytes per second.

Average connection rate - connections per second. The average number of new requests (connections) admitted per second.

Average URI rate - URIs per second. The average number of new URIs admitted per second.

Connection burst - number of connections. The maximum number of new requests (connections) accepted concurrently.

Destination IP address (end). The end of destination IP address range. IP address is in dotted decimal format if IPv4 or character representation format if IPv6.

Destination IP address (start). The start of the destination IP address range. IP address is in dotted decimal format if IPv4 or character representation format if IPv6. This value will be used if only one destination IP address is selected

Destination port (end). The end of the destination port range.

Destination port (start) The start of the destination port range. This value is used if only one port is selected

Duration. The Duration is the amount of time in seconds between the last query and the present query. This value is only set for Collected date.

End time. The ending time over which the aggregation was performed.

Guaranteed rate - bytes per second. The guaranteed rate in bytes per second.

InDSCP. The field used to select the per hop behavior (PHB) a packet will experience at each node.

Maximum packet size - bytes. The largest datagram that conforms to the traffic specifications.

Minimum policed unit - bytes. The smallest number of bytes that will be removed from the token bucket.

OutDSCP. The field used to select the per hop behavior (PHB) a packet will experience at each node.

Peak connection rate - connections per second. The maximum allowable rate at which the source can inject connections into the network.

Peak data rate - bytes per second. The maximum rate at which the source and any reshaping point may inject burst of traffic into the network.

Peak URI rate - URI per second. The maximum allowable rate at which the source can inject connections into the network.

Policy handle identifier. Is a unique handle for any given policy.

Policy name. The name of the policy with which the data is associated.

Priority. The priority assigned to each rule loaded in the QoS Manager.

Prioritized queue -  The order the listen queue of the server processes incoming connections.

Protocol. The message protocol. Protocols may include:

Reserved - alignment. An ignored field.

Slack term - seconds. The difference between the desired delay and the delay obtained.

Source IP address (end). The end of the source IP address range. IP address is in dotted decimal format if IPv4 or character representation format if IPv6.

Source IP address (start). The start of the source IP address range. IP address is in dotted decimal format if IPv4 or character representation format if IPv6. This value is used if only one source IP address is selected

Source port (end). The end of the source port range.

Source port (start). The start of the source port range. This value is used if only one port is selected

Start time. The starting time over which the aggregation was performed.

Time stamp. The date and time the data was retrieved from the QoS Manager. The time is formatted with a 24-hour clock, and is in the format YYYYMMDDHHMMSS.

Token bucket depth - bytes. The number of tokens that can be stored in a given bucket.

Token bucket rate - bytes per second. The rate at which tokens can be sent into the network.

Total active connections. The total number of active connections.

Total active connections long - connections. The total number of active connections. If this value is greater then 4,294,967,295 then the counter will wrap and start back at 1.

Total bytes transmitted - bytes. The total number of bytes transmitted. If this value is greater then 4,294,967,295 then the counter will wrap and start back at 1.

Total bytes transmitted long - bytes. The total number of bytes transmitted.

Total connections serviced - number of connections. The total number of connections serviced.

Total connections transmitted - number of connections. The total number of bytes transmitted.

Total in profile bytes - bytes. The total number of bytes transmitted in the profile. If this value is greater then 4,294,967,295 then the counter will wrap and start back at 1.

Total in profile bytes long - bytes. The total number of bytes transmitted in profile.

Total in profile connections - connections. The total number of connection in the profile.

Total in profile packets - number of packets. The total number of in profile packets transmitted. If this value is greater then 4,294,967,295 then the counter will wrap and start back at 1.

Total in profile packets long - number of packets. The total number of in profile packets transmitted.

Total in profile URIs - number of URIs. Total number of in profile URIs transmitted.

Total packets transmitted - number of packets. The total number of packets transmitted. If this value is greater then 4,294,967,295 then the counter will wrap and start back at 1.

Total packets transmitted long - number of packets. The total number of packets transmitted.

Total URIs transmitted - number of URIs. The total number of URIs transmitted.

Traffic profile. The type of packet conditioning used on out-of-profile packets. The format may include:

URI burst - number of URIs. The maximum number of new pages accepted concurrently.

URI name. A string of characters that repersents the URI.


Error Messages



API introduced: V5R1

[ Back to top | UNIX-Type APIs | APIs by category ]