• 软件测试技术
  • 软件测试博客
  • 软件测试视频
  • 开源软件测试技术
  • 软件测试论坛
  • 软件测试沙龙
  • 软件测试资料下载
  • 软件测试杂志
  • 软件测试人才招聘
    暂时没有公告

字号: | 推荐给好友 上一篇 | 下一篇

RFC388 - NCP statistics

发布: 2007-6-23 14:09 | 作者:   | 来源:   | 查看: 15次 | 进入软件测试论坛讨论

领测软件测试网

   
  Network Working Group V. Cerf
Request for Comments: 388 UCLA-NMC
Obsoletes: 323 23 August 1972
NIC: 11360
Network Measurement Note #8

NCP Statistics

After a lapse of 5 months since RFC#323 was issued (23 March), I am
pleased to announce that UCLA-NMC is prepared to gather your NCP
statistics automatically on a daily basis. The results will be
published monthly as Network Measurement notes and as RFC's. We will
periodically open a connection on your local socket @241 (decimal),
expecting you to send the following data in the format shown:

<duplicate pages 3-5 of RFC323 here>

a. Total bits sent to HOST
b. Total bits received from HOST
c. Total messages sent to HOST
d. Total messages received from HOST and optionally
e. Average Round Trip delay on send connections to HOST

The information above should be collected only for standard open
connections (i.e. those using standard NCP protocol) and not
measurement links or experimental NCP links, and in particular, not
traffic on link 0).

Another optional measurement would be to gather the distribution of
message types over link 0 over all HOSTS (i.e. not broken down by
HOST). This will reveal the relative utilization of control messages
(ALLOC should be very prevalent).

The data collected for the last 24 hour sample period should be
available from a process listening on local socket number 241 (10).

16 16
+----------+------------+
word 0 | Day # | Time |
+----------+------------+
| |
1 - 365 (6 on leap year) |______
|
Time in minutes at which sample was
started. Ranges from 0 (midnight) to 1439.

8 8
+--------+------+-------+----------+
word 1 | Source | Byte | N | Format |
| Host | Size | | |
+--------+------+-------+----------+
| | | |__________
_______| | | |
| | number of HOST |
Network Host | related entries +---+---+---+---+---+---+
number | in message | | | C | R | B | M |
| +---+---+---+---+---+---+
number of bits per | | | |
byte in byte statistics ____ ____| | | message
| ___| | statistics
| | byte
control | statistics
message distribution |
average
round-trip time

The remaining words of the message depend on Format byte setting:

<-------32--------->
/ +---------------------+
| | Foreign HOST # | always present
|-+---------------------+
| | messages received | if FORMAT bit M set
| +---------------------+
| | Bytes received | if FORMAT bit B set
N of | +---------------------+
these | | message sent | if FORMAT bit M set
entries | +---------------------+
| | Bytes sent | if FORMAT bit B set
| +---------------------+
\ | Average delay | if FORMAT bit R set
+---------------------+
This is average RFNM
delay in milliseconds
8 24
+-------+---------------+
| type | Count | if FORMAT bit C set these
+-------+---------------+ are link 0 control message
| | | distributions for the
+-------+---------------+ sample period, cumulative
| | | overall HOSTs. If a type is
+-------+---------------+ not present, its count is
| | | assumed to be 0.
+-------+---------------+
| | |
+-------+---------------+
| | |
+-------+---------------+
| . | |
.
.
|type | Count |
+-------+---------------+

Thus, the data you send will look roughly like this.

+--------------------------------+
word 0 | DAY/TIME |
+--------------------------------+
word 1 | CONTROL WORD |
+--------------------------------+
| DATA FOR |
| DESTINATION |
| 1 |
+--------------------------------+
| DATA FOR |
| DESTINATION |
| 2 |
+--------------------------------+
.
.
.
+--------------------------------+
| DATA FOR |
| DESTINATION |
| N |
+--------------------------------+
| CONTROL MESSAGE |
. DISTRIBUTION |
. |
. |
| |
word n +--------------------------------+

On completion of transmission of the last message, and after you
receive the RFNM for this last message, close the connection.

In the original specification, we said that the data gathering
program would ICP to some well-known socket. We believe this to be
an unnecessary complication and instead, we will merely open a
connection on your 241 (decimal), expecting you to send data as soon
as our Allocate command is received by your NCP. Please let me know
if this cannot be done (i.e. you need the ICP).

If you connect to UCLA-NMC socket 241, we will send you our own 24
hour data. Anyone interested in capturing these statistics is
welcome to do so.

Please note that these summarized statistics are for standard local
24 hour period (e.g. local midnight to local midnight). They are not
for a sliding 24 hour period ending with the time at which statistics
were requested. Also, the data is to be collected only for open
connections on links 0, 2-71.

The following are participating (others) are heartily invited):
UCLA-NMC, DMCG, LL-67.

[This RFCwas put into machine readable form for entry]
[into the online RFCarchives by Helene Morin, Via Genie, 12/99]

延伸阅读

文章来源于领测软件测试网 https://www.ltesting.net/


关于领测软件测试网 | 领测软件测试网合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备10010545号-5
技术支持和业务联系:info@testage.com.cn 电话:010-51297073

软件测试 | 领测国际ISTQBISTQB官网TMMiTMMi认证国际软件测试工程师认证领测软件测试网