分享
 
 
 

RFC996 - Statistics server

王朝other·作者佚名  2008-05-31
窄屏简体版  字體: |||超大  

Network Working Group D.L. Mills

Request for Comments: 996 University of Delaware

February 1987

Statistics Server

STATUS OF THIS MEMO

This RFCspecifies a standard for the ARPA Internet community. Hosts

and gateways on the DARPA Internet that choose to implement a remote

statistics monitoring facility may use this protocol to send

statistics data upon request to a monitoring center or debugging

host. Distribution of this memo is unlimited.

DISCUSSION

Many host and gateway implementations include a facility which

records traffic statistics, sUCh as packet counters, error counters

and significant event counters for debugging and performance

evluation. Simple data-Access and formatting programs can be used to

display these statistics along with the status of connections, etc.

Several operating systems, including the various Unix systems and

Fuzzball systems, already provide extensive facilities to capture and

display these data for local users and/or operators.

In many instances it is highly useful to observe statistics data on

remote hosts and gateways from a monitoring center or debugging host.

Indeed, several protocols have been implemented and used eXPressly

for this purpose [1-6]. In many cases the data can be retrieved using

conventional services such as remote login or even file transfer.

However, use of these heavyweight mechanisms is awkward and intrusive

if conducted on a regular, frequent basis and may involve substantial

intrusion in the operating system if retrofitted to existing systems.

The Statistics Server (STATSRV) protocol is intended as a lightweight

mechanism similar in spirit to NETSTAT [7] and complementary to it.

STATSRV is designed to capture statistics data with minimal intrusion

on existing systems or networks. It is intended for use with existing

hosts and gateways primarily for casual monitoring and debugging

purposes. It is not intended as a full-function monitoring protocol

[1,5,6] providing detailed, standardized reports suitable for machine

analysis, for example, but could be useful in exploratory development

leading to enduring systems of this type.

The STATSRV model is based on the native host command language used

for statistics monitoring and display. The client sends a null-

terminated ASCII command to the server, which then responds with a

null-terminated ASCII response suitable for a printer or CRT display.

Although in principle STATSRV could be used over TCP, it is less

intrusive and more efficient to use it over UDP. In the case of UDP,

commands and responses must fit into a single 576-octet IP datagram.

In both UDP and TCP the assigned port number is 133 (decimal).

As is conventional in other lightweight services of this type

(NETSTAT, FINGER, etc.), there is no provision for access control or

authentication in STATSRV. If necessary, each command could include a

passWord or other mechanism to discourage casual abuse.

EXAMPLE

The Fuzzball system includes many local commands to display internal

data structures, including one that produces the following billboard

for each network device, in this case "dm0" on host "udel2.udel.edu":

Process type: 000027 options: 040000

Subnet: DMV status: 376 hello: 15 timeout: 2000

Foreign address: [192.5.39.87] max size: 576

Input packets 3645 Output packets 3690

bad format 0 ICMP msgs 0

bad checksum 0 Input errors 0

returned 0 Output errors 0

dropped 2 No buffer 0

HELLO msgs 2286 Preempted 0

The same billboard is returned as a null-terminated ASCII string in a

UDP datagram by sending the null-terminated ASCII command "dm0" in a

UDP datagram to the host. Similar billboards can be produced for most

processes in the system. Unix programs and shell scripts have been

built which send commands like these to selected hosts on a periodic

basis in order to construct a simple, ad-hoc monitoring facility.

REFERENCES

[1] Flood Page, D.,"Gateway Monitoring Protocol", DARPA Network

Working Group Report IEN-131, Bolt Beranek and Newman, February

1980.

[2] Flood Page, D., "The CMCC Terminal Process", DARPA Network

Working Group Report IEN-132, Bolt Beranek and Newman, February

1980.

[3] Flood Page, D., "CMCC Performance Measurement Message Formats",

DARPA Network Working Group Report IEN-157, Bolt Beranek and

Newman, September 1980.

[4] Jones, R.G., " A Proposal for Simple Measurement Support for

Users", DARPA Network Working Group Report IEN-161, University

College London, November 1980.

[5] Littauer, B.M., A.J. Huang and R.M. Hinden," A Host Monitoring

Protocol", DARPA Network Working Group Report IEN-197, Bolt

Beranek and Newman, September 1981.

[6] Hinden, R.M.," A Host Monitoring Protocol", DARPA Network

Working Group Report RFC-869, BBN Communications Corporation,

December 1983.

[7] Reynolds, J.K., and J. Postel, "Assigned Numbers", DARPA Network

Working Group Report RFC-990, USC Information Sciences

Institute, November 1986.

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有