找回密码
 立即注册
搜索
查看: 210|回复: 9

问一个有关网络连接状态的菜鸟问题

[复制链接]

307

主题

6955

回帖

9869

积分

荣誉版主

含笑半步癫

积分
9869
发表于 2003-1-17 13:41:10 | 显示全部楼层 |阅读模式
XP操作系统:在图中的数字“26471”的单位是packet,1个packet等于1024bytes吗?如何在这个图中将“packet”显示为“bytes”?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

36

主题

329

回帖

490

积分

禁止访问

积分
490
发表于 2003-1-17 14:18:22 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

307

主题

6955

回帖

9869

积分

荣誉版主

含笑半步癫

积分
9869
 楼主| 发表于 2003-1-17 14:25:31 | 显示全部楼层
最初由 sams 发布
[B]hoho, packet和byte没有直接联系。。。
两个不同层的概念。
如果想看byte统计,可到dos窗口:
netstat -e [/B]
谢谢解答,但在win2000中显示的是“bytes”,不太明白为什么xp和2000采用了不同的指标。
回复

使用道具 举报

307

主题

6955

回帖

9869

积分

荣誉版主

含笑半步癫

积分
9869
 楼主| 发表于 2003-1-17 14:30:35 | 显示全部楼层

随便贴出详细的netstat命令列表

NETSTAT [-a] [-e] [-n] [-o] [-s] [-p proto] [-r] [interval]

  -a            Displays all connections and listening ports.
  -e            Displays Ethernet statistics. This may be combined with the -s
                option.
  -n            Displays addresses and port numbers in numerical form.
  -o            Displays the owning process ID associated with each connection.
  -p proto      Shows connections for the protocol specified by proto; proto
                may be any of: TCP, UDP, TCPv6, or UDPv6.  If used with the -s
                option to display per-protocol statistics, proto may be any of:
                IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6.
  -r            Displays the routing table.
  -s            Displays per-protocol statistics.  By default, statistics are
                shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6;
                the -p option may be used to specify a subset of the default.
  interval      Redisplays selected statistics, pausing interval seconds
                between each display.  Press CTRL+C to stop redisplaying
                statistics.  If omitted, netstat will print the current
                configuration information once.
回复

使用道具 举报

327

主题

3264

回帖

3641

积分

荣誉版主

积分
3641
发表于 2003-1-17 14:51:47 | 显示全部楼层
多谢ouki的工具,呵呵
回复

使用道具 举报

345

主题

2965

回帖

4634

积分

荣誉版主

海水

积分
4634
发表于 2003-1-17 16:05:23 | 显示全部楼层
最初由 tiger007 发布
[B]谢谢解答,但在win2000中显示的是“bytes”,不太明白为什么xp和2000采用了不同的指标。 [/B]


Windows 2000中显示的也是Packes(数据包),是指三层(IP层)的数据包发送和接收的数量。包的大小是通信双方相互之间协商的,可以参考TCP的三次握手过程。另外,上面ouKi提供的内容也是很有帮助的。
回复

使用道具 举报

307

主题

6955

回帖

9869

积分

荣誉版主

含笑半步癫

积分
9869
 楼主| 发表于 2003-1-17 16:34:46 | 显示全部楼层
对网络不是太懂,谢谢各位指点
回复

使用道具 举报

11

主题

329

回帖

475

积分

中级会员

积分
475
发表于 2003-1-17 18:25:18 | 显示全部楼层
packets是包,你说的是字节,现在基本上adsl都是基于包交换网络,具体的同意斑竹的意见看看关于包交换的3次握手过程!
回复

使用道具 举报

209

主题

857

回帖

1676

积分

金牌会员

积分
1676
发表于 2003-1-18 14:29:01 | 显示全部楼层

Reference

。。。
Transport Layer(传输层) —  Segment(段)
Network Layer(网络层)  —  Packet(包)
Datalink Layer(数据链路层) —  Frame(帧)
。。。
回复

使用道具 举报

3

主题

24

回帖

39

积分

注册会员

积分
39
发表于 2003-1-18 19:18:10 | 显示全部楼层
这里显示的单位应该和你们所说的都没关系,为什么不同我也不知道,但我的XP上次是显示PACKET,这次重装后又显示BYTE。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|海浩社区

GMT+8, 2025-9-20 15:24 , Processed in 0.089522 second(s), 23 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表