This view shows the network activity over all Adaptive Server network connections since the start of the session. It shows the:
Default packet size
Maximum packet size
Average packet sizes sent and received since the start of the session
Number of packets sent
Number of packets received
The 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 session_network_activity_count = 12;
SMC_DATAITEM_STRUCT session_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_SESSION },
{ SMC_NAME_NET_PKT_SIZE_RCVD, SMC_STAT_VALUE_SESSION },
{ SMC_NAME_NET_PKTS_SENT, SMC_STAT_VALUE_SESSION },
{ SMC_NAME_NET_PKTS_RCVD, SMC_STAT_VALUE_SESSION },
{ SMC_NAME_NET_PKTS_SENT, SMC_STAT_RATE_SESSION },
{ SMC_NAME_NET_PKTS_RCVD, SMC_STAT_RATE_SESSION },
{ SMC_NAME_NET_BYTES_SENT, SMC_STAT_VALUE_SESSION },
{ SMC_NAME_NET_BYTES_RCVD, SMC_STAT_VALUE_SESSION },
{ SMC_NAME_NET_BYTES_SENT, SMC_STAT_RATE_SESSION },
{ SMC_NAME_NET_BYTES_RCVD, SMC_STAT_RATE_SESSION }
};