ping网关是否掉包并记录掉包时间和日期?
p处理应该怎么写啊?
:1st
ping 192.168.0.1 -t|find /i "Request timed out">>chk2.log
if %errorlevel%==0 goto :1st
我这样写了一个,但记录不了掉包时间啊。
[ Last edited by lotsunhim on 2007-2-26 at 01:29 AM ]
p处理应该怎么写啊?
:1st
ping 192.168.0.1 -t|find /i "Request timed out">>chk2.log
if %errorlevel%==0 goto :1st
我这样写了一个,但记录不了掉包时间啊。
[ Last edited by lotsunhim on 2007-2-26 at 01:29 AM ]
