# tibemsStatData_GetByteRate

Function

## Purpose

Get the average rate of bytes sent or received each second.

## C Declaration

    tibems_status tibemsStatData_GetByteRate(
        tibemsStatData statData,
        tibems_long* byteRate);

## COBOL Call

    CALL "tibemsStatData_GetByteRate"
     USING BY VALUE statData,
           BY REFERENCE rate_size,
           RETURNING tibems-status
    END-CALL.

## Parameters

Parameter | Description
--- | ---
`statData` | Get the rate for this message consumer, producer, topic, or queue.
`byteRate` | Store the average byte rate.

## Remarks

This function gets the average byte rate for messages sent or received per second. For message consumers, this rate reflects the number of messages received by the consumer. For messages producers, it is the rate of messages sent, and for topics and queues the rate includes both inbound and outbound messages.

Copyright © Cloud Software Group, Inc. All rights reserved.