Netstat命令:
netstat命令不是内部或外部命令
在命令框中输入netstat如出现上述提示
解决方法:
netstat 命令报该错误有一般两个原因:
1 该命令不存在于该版本的操作系统中,系统找不着。
2 该命令无法找到,但是系统存在,请在“我的电脑上”单击“右键”,“属性”,“高级”,“环境变量”,修改或添加“C:\windows;C:\windows\system32;”,其中的系统盘盘符换为自己机器对应的,就可以了。设定完成后,重启cmd,然后就能找到该命令了。
查看并记入当前正在活动的网络连接的详细信息:如协议类型、当前主机与远端相连主机的Ip地址
- C:\Documents and Settings\Administrator>netstat
-
Active Connections
-
Proto Local Address Foreign Address State
-
TCP student4-017:2691 61.137.191.86:http CLOSE_WAIT
-
TCP student4-017:3948 183.60.1.61:http TIME_WAIT
-
TCP student4-017:3957 hx-in-f105.1e100.net:http ESTABLISHED
-
TCP student4-017:3958 hx-in-f105.1e100.net:http ESTABLISHED
-
TCP student4-017:1029 localhost:27015 ESTABLISHED
-
TCP student4-017:1084 localhost:1085 ESTABLISHED
-
TCP student4-017:1085 localhost:1084 ESTABLISHED
-
TCP student4-017:1088 localhost:1089 ESTABLISHED
-
TCP student4-017:1089 localhost:1088 ESTABLISHED
-
TCP student4-017:27015 localhost:1029 ESTABLISHED
-
TCP student4-017:30003 localhost:3955 TIME_WAIT
- C:\Documents and Settings\Administrator>netstat -e
-
Interface Statistics
-
Received Sent
-
Bytes 68996643 5513643
-
Unicast packets 62402 48697
-
Non-unicast packets 129966 4196
-
Discards 0 0
-
Errors 0 1
-
Unknown protocols 4011
- C:\Documents and Settings\Administrator>netstat -e -s
-
Interface Statistics
-
Received Sent
-
Bytes 69046367 5518680
-
Unicast packets 62449 48746
-
Non-unicast packets 130462 4212
- ***
- C:\Documents and Settings\Administrator>netstat -o 5
-
Active Connections
-
Proto Local Address Foreign Address State PID
-
TCP student4-017:2691 61.137.191.86:http CLOSE_WAIT 2968
-
TCP student4-017:3878 reverse.gdsz.cncnet.net:http TIME_WAIT 0
-
TCP student4-017:1029 localhost:27015 ESTABLISHED 1348
-
TCP student4-017:1084 localhost:1085 ESTABLISHED 388
-
TCP student4-017:1085 localhost:1084 ESTABLISHED 388
-
TCP student4-017:1088 localhost:1089 ESTABLISHED 388
-
TCP student4-017:1089 localhost:1088 ESTABLISHED 388
-
TCP student4-017:27015 localhost:1029 ESTABLISHED 184
-
Active Connections
-
Proto Local Address Foreign Address State PID
-
TCP student4-017:2691 61.137.191.86:http CLOSE_WAIT 2968
-
TCP student4-017:3878 reverse.gdsz.cncnet.net:http TIME_WAIT 0
-
TCP student4-017:1029 localhost:27015 ESTABLISHED 1348
-
TCP student4-017:1084 localhost:1085 ESTABLISHED 388
-
TCP student4-017:1085 localhost:1084 ESTABLISHED 388
-
TCP student4-017:1088 localhost:1089 ESTABLISHED 388
-
TCP student4-017:1089 localhost:1088 ESTABLISHED 388
-
TCP student4-017:27015 localhost:1029 ESTABLISHED 184
-
^C
阅读(1428) | 评论(0) | 转发(0) |