跳到主要内容

附录 B - TAC 监控(吞吐量)

B.3 消息类型 3:TAC 吞吐量​

说明

TAC 吞吐量消息报告 TAC 各个模块的统计信息。TAC 会定期收集这些数据并保存,等待 HM 轮询。如果 HM 错过了某个周期,新的结果将直接覆盖旧结果。两个时间戳(data-time 和 prev-time)界定了收集区间,可用来指示报告是否被漏掉。此外,mess-time 指示消息发送的时间。

TAC 吞吐量消息的格式如下:

           0             0 0             1
           0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
          +---------------+---------------+
        0 |           Mess-Time           |
          +---------------+---------------+
          |           Data-Time           |
          +---------------+---------------+
          |           Prev-Time           |
          +---------------+---------------+
          |         Version Number        |
          +---------------+---------------+
          |       Last Trap Message       |
          +---------------+---------------+
        5 |           Bit Flags           |
          +---------------+---------------+
          |         Free PDB count        |
          +---------------+---------------+
          |         Free MBLK count       |
          +---------------+---------------+
          |      # of TCP connections     |
          +---------------+---------------+
          |      # of NCP connections     |
          +---------------+---------------+ ----
       10 |     Host Input Throughput     |    ^
          +---------------+---------------+    |
          |     Host Input Abort Count    |    |
          +---------------+---------------+    |
          |    Host Input Garbled Count   |    |
          +---------------+---------------+    |
          |    Host Output Throughput     | 1822 info.
          +---------------+---------------+    |
                        (continued)

 TAC throughput (cont.)

          +---------------+---------------+    |
          |    Host Output Abort Count    | 1822 info.
          +---------------+---------------+    |
       15 |        Host Down Count        |    v
          +---------------+---------------+ ----
          |      # of datagrams sent      |    ^
          +---------------+---------------+    |
          |    # of datagrams received    |    |
          +---------------+---------------+  IP info.
          |    # of datagrams discarded   |    |
          +---------------+---------------+    |
          |    # of fragments received    |    v
          +---------------+---------------+    |
       20 |    # of fragments discarded   |    v
          +---------------+---------------+ ----
          |      # of segments sent       |    ^
          +---------------+---------------+    |
          |    # of segments received     |    |
          +---------------+---------------+    |
          |    # of segments discarded    |    |
          +---------------+---------------+  TCP info.
          |       # of octets sent        |    |
          +---------------+---------------+    |
       25 |     # of octets received      |    |
          +---------------+---------------+    |
          |     # of retransmissions      |    v
          +---------------+---------------+ ----

HMP 字段

系统类型(System Type)

TAC = 3

消息类型(Message Type)

TAC 吞吐量消息 = 3

端口号(Port Number)

未使用

控制标志(Control Flag)

未使用

序列号(Sequence Number)

一个 16 位数,在每个收集区间递增(即每组装一条新的吞吐量消息时)。HM 通过检查序列号即可发现丢失或重复的消息。

返回的序列号(Returned Sequence Number)

包含请求本报告的轮询消息中的序列号。

TAC 吞吐量字段

消息时间(Mess-time)

消息发送给 HM 的时间(以 640 毫秒为单位)。

数据时间(Data-Time)

数据时间是收集这组数据的时间(以 640 毫秒为单位)。(参见说明。)

前次时间(Prev-Time)

前次时间是上一次收集数据的时间(以 640 毫秒为单位),因此也就是本消息中的数据开始累积的时间。

版本号(Version Number)

TAC 的软件版本号。

最后陷阱消息(Last Trap Message)

包含发送给 HM 的最后一条陷阱消息的序列号。这使 HM 能够检测丢失了多少陷阱消息。

位标志(Bit Flags)

共有十六个位标志,用于报告 TAC 中各种开关(硬件和软件)的状态。为便于下文讨论,各位编号如下。

             0             0 0             1
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| | | | | | | | | | | | | | | | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

The bit flags report the status of the following:

Bit Meaning
15 0 => DDT override off; 1 => override on.
11-14 0 => Sense Switch n is off; 1 => SSn on.
10 0 => Traps to remote monitor;
1 => Traps to console.
9 1 => Message generator on.
0-8 unused

空闲 PDB 数(Free PDB count)

空闲队列上的 PDB 数量。

空闲 MBLK 数(Free MBLK count)

空闲队列上的 MBLK 数量。

TCP 连接数(# of TCP connections)

NCP 连接数(# of NCP connections)

每种协议的打开连接数。

1822 信息(1822 info.)

这六个字段报告与 1822 协议模块(即 TAC 与其 IMP 之间的接口)运行有关的统计信息。

IP 信息(IP info.)

这五个字段报告与 TAC 中互联网协议有关的统计信息。

TCP 信息(TCP info.)

这六个字段报告与 TAC 中 TCP 协议有关的统计信息。