Board logo

标题: [网络连接] 【已结】如何能获得每次Ping回响的时间 [打印本页]

作者: cyan    时间: 2009-1-9 08:40     标题: 【已结】如何能获得每次Ping回响的时间

RT,即获取每次ping连接信息及相应的系统时间,有无好方法。请教。
作者: cyan    时间: 2009-1-9 10:26

在线等。。
我希望结果类似这样

2008-05-08 10:42:42     PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
2008-05-08 10:42:42     64 bytes from 192.168.1.1: icmp_seq=0 ttl=64 time=2.65 ms
2008-05-08 10:42:43     64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.380 ms
2008-05-08 10:42:44     64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.867 ms
2008-05-08 10:42:45     64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=0.373 ms
作者: sniperhgy    时间: 2009-1-9 11:06

利用Find指令,搜索time,行不?
作者: Batcher    时间: 2009-1-9 11:27

  1. ping 192.168.0.1 -t|mtee /d /t
复制代码
mtee下载:http://bbs.bathome.net/viewthread.php?tid=2058
作者: cyan    时间: 2009-1-9 13:03

谢谢batcher,运行很好

mtee不错的东西




欢迎光临 批处理之家 (http://www.bathome.net/) Powered by Discuz! 7.2