Windows Embedded下的网络监测工具(二)

开发
本文介绍Windows Embedded下的网络监测工具,用到了Windows CE下的几个网络监测工具,才了解到Windows CE下也可以用我们平时用的网络监测工具,写出来和大家共享一下吧。

Ping命令

等Device Emulator启动之后,我们可以在输入命令进行调试了。在Target目录中选Target Control,Command Shell会出现。下图所示:

在Target目录中选Target


先运行ping命令,如果我们直接输入s ping x.x.x.x的话,会在模拟器中显示一个命令行窗口,并且输出执行结果。S的意思是在CE中运行某个应用程序。结果如下图:

在S的意思是在CE中运行某个应用程序

不过问题随之而来,命令行窗口会在ping命令执行完成后,自动退出。我们想查看ping命令的执行情况,就需要眼疾手快了。难道,没有其他的办法了吗?

有,我们输入s ping x.x.x.x /d,执行结果会输出到output窗口中。

输出到output窗口

下面的演示我会将output里的结果贴出来,不再截图了。
ipconfig命令

接下来是另外一个简单的网络监测工具:ipconfig。在Command Shell中输入s ipconfig /all /d。/all 是ipconfig的命令,显示所有的配置信息,除此之外还有/renew和/release两个参数,用于更新网卡的IP地址。/d还是将结果显示到 Output窗口中。

PB Debugger Loaded symbols for 'D:\NINMA\RELDIR\DEVICEEMULATOR_ARMV4I_RELEASE\IPCONFIG.EXE'

122396 PID:5860042 TID:5890056 Windows IP configuration
122465 PID:5860042 TID:5890056 Ethernet adapter Local Area Connection:
122465 PID:5860042 TID:5890056 IP Address ........ : 192.168.0.163
122465 PID:5860042 TID:5890056 Subnet Mask ....... : 255.255.255.0
122465 PID:5860042 TID:5890056 IP Address ........ : fe80::203:ffff:fe55:8d9f%5
122465 PID:5860042 TID:5890056 Default Gateway ... : 192.168.0.1
122465 PID:5860042 TID:5890056 Adapter Name ...... : NE20001
122465 PID:5860042 TID:5890056 Description ....... : NE20001
122465 PID:5860042 TID:5890056 Adapter Index ..... : 2
122465 PID:5860042 TID:5890056 Address............ : 00 03 ff 55 8d 9f
122465 PID:5860042 TID:5890056 DHCP Enabled....... : YES
122465 PID:5860042 TID:5890056 DHCP Server........ : 192.168.0.1
122465 PID:5860042 TID:5890056 Primary WinsServer :
122465 PID:5860042 TID:5890056 Secondary WinsServer:
122465 PID:5860042 TID:5890056 Lease obtained on : Sunday, July 5 ,2009 18 : 5 : 30
122465 PID:5860042 TID:5890056 Lease expires on : Sunday, July 12 ,2009 18 : 5 : 30
122465 PID:5860042 TID:5890056 AutoConfig Enabled : YES
122465 PID:5860042 TID:5890056
122465 PID:5860042 TID:5890056 Tunnel adapter []:
122467 PID:5860042 TID:5890056 Interface Number .. : 4
122467 PID:5860042 TID:5890056
122468 PID:5860042 TID:5890056 Tunnel adapter [6to4 Pseudo-Interface]:
122468 PID:5860042 TID:5890056 Interface Number .. : 3
122468 PID:5860042 TID:5890056
122469 PID:5860042 TID:5890056 Tunnel adapter [Automatic Tunneling Pseudo-Interface]:
122469 PID:5860042 TID:5890056 Interface Number .. : 2
122470 PID:5860042 TID:5890056 IP Address ........ : fe80::5efe:192.168.0.163%2
122470 PID:5860042 TID:5890056
122474 PID:5860042 TID:5890056 Host name.......... : WindowsCE
122474 PID:5860042 TID:5890056 Domain Name........ :
122474 PID:5860042 TID:5890056 DNS Servers........ : 62.244.19.19
122474 PID:5860042 TID:5890056 192.168.0.1
122474 PID:5860042 TID:5890056 NODETYPE........... : 8
122474 PID:5860042 TID:5890056 Routing Enabled.... : NO
122474 PID:5860042 TID:5890056 Proxy Enabled...... : NO
122474 PID:5860042 TID:5890056

PB Debugger Unloaded symbols for 'D:\NINMA\RELDIR\DEVICEEMULATOR_ARMV4I_RELEASE\IPCONFIG.EXE'

【编辑推荐】

  1. Windows Embedded Standard 2009 功能简介
  2. 微软计划通过Windows Embedded进军Smartbook市场
  3. Windows Embedded嵌入式系统的特色
  4. 在Windows Embedded中创建Silverlight组件
  5. Windows Embedded与生活息息相关
责任编辑:佚名 来源: 博客园
相关推荐

2009-07-16 15:14:31

Windows Emb网络监测工具

2009-07-16 15:55:55

Windows Emb网络监测工具

2009-07-17 14:27:13

Windows Emb

2009-09-16 08:34:17

Windows Emb

2009-07-24 10:19:29

2010-01-13 14:18:52

Windows Emb

2009-12-10 09:19:28

Windows 7嵌入式平台

2011-04-19 18:48:25

Windows Emb开发工具嵌入式

2010-04-13 17:28:09

WindowsEmbe微软嵌入式开发Windows7

2009-07-16 14:58:16

Windows Emb

2009-07-08 14:21:34

Windows Emb视频会议

2009-04-30 09:15:25

Windows Emb

2009-10-28 09:22:15

2010-03-04 13:54:17

Windows EmbICE

2009-07-16 16:40:18

Windows Emb

2010-03-10 12:54:20

Windows Emb

2013-03-22 09:38:34

微软Windows Emb

2009-09-23 10:37:20

Windows Emb

2011-04-19 18:36:45

Windows Emb嵌入式

2011-01-10 14:08:50

Windows Emb用户体验移动终端
点赞
收藏

51CTO技术栈公众号