This view shows the network activity over all Adaptive Server network connections during the most recent sample interval. It shows the:
Default packet size
Maximum packet size
Average packet sizes sent and received for the sample interval
Number of packets sent
Number of packets received
Rate at which packets were sent and received
Number of bytes sent
Number of bytes received
Rate at which bytes were sent and received
SMC_SIZET sample_network_activity_count = 12;
SMC_DATAITEM_STRUCT sample_network_activity_view[] = {
{ SMC_NAME_NET_DEFAULT_PKT_SIZE, SMC_STAT_VALUE_SAMPLE },
{ SMC_NAME_NET_MAX_PKT_SIZE, SMC_STAT_VALUE_SAMPLE },
{ SMC_NAME_NET_PKT_SIZE_SENT, SMC_STAT_VALUE_SAMPLE },
{ SMC_NAME_NET_PKT_SIZE_RCVD, SMC_STAT_VALUE_SAMPLE },
{ SMC_NAME_NET_PKTS_SENT, SMC_STAT_VALUE_SAMPLE },
{ SMC_NAME_NET_PKTS_RCVD, SMC_STAT_VALUE_SAMPLE },
{ SMC_NAME_NET_PKTS_SENT, SMC_STAT_RATE_SAMPLE },
{ SMC_NAME_NET_PKTS_RCVD, SMC_STAT_RATE_SAMPLE },
{ SMC_NAME_NET_BYTES_SENT, SMC_STAT_VALUE_SAMPLE },
{ SMC_NAME_NET_BYTES_RCVD, SMC_STAT_VALUE_SAMPLE },
{ SMC_NAME_NET_BYTES_SENT, SMC_STAT_RATE_SAMPLE },
{ SMC_NAME_NET_BYTES_RCVD,, SMC_STAT_RATE_SAMPLE }
};