文件名称:tcp
介绍说明--下载内容均来自于网络,请自行研究使用
shell脚本编程,生成TCP活动状况报告
netstat --statistics --tcp命令可以列出tcp统计信息。编写shell脚本程序,每隔1分钟生成1行信息:当前时间;这一分钟内TCP发送了多少报文;接收了多少报文;收发报文总数;行尾给出符号+或-或空格(+表示这分钟收发报文数比上分钟多,收发报文数相同用空格,否则用符号-)
-Shell scr ipting, TCP activity report generation
The netstat--statistics--tcp command to list the TCP statistics. Shell program, every 1 minutes to generate 1 rows of information: the current time this one minute TCP sent many messages received many messages messages the total number of line given the sign+ or- or spaces (+ said this minute packet number more than minutes, receiving and sending the same number with a space, or symbol)
netstat --statistics --tcp命令可以列出tcp统计信息。编写shell脚本程序,每隔1分钟生成1行信息:当前时间;这一分钟内TCP发送了多少报文;接收了多少报文;收发报文总数;行尾给出符号+或-或空格(+表示这分钟收发报文数比上分钟多,收发报文数相同用空格,否则用符号-)
-Shell scr ipting, TCP activity report generation
The netstat--statistics--tcp command to list the TCP statistics. Shell program, every 1 minutes to generate 1 rows of information: the current time this one minute TCP sent many messages received many messages messages the total number of line given the sign+ or- or spaces (+ said this minute packet number more than minutes, receiving and sending the same number with a space, or symbol)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
第6章 B-Shell及编程.ppt
tcp.sh