From: Ellen K.
Thank you very much! :)
On Mon, 31 May 2004 11:19:14 -0400, "John Beamish" wrote in message :
>It will set up the command line prompt to display the time. You can see
>what it will look like by simply opening a command line window and typing:
>"prompt $p $t $g" (no quotes, include the spaces) at the
prompt in the new
>window.
>
>Now, in that the window, after entering the new prompt, press return several
>times. Notice how the time is displayed in the prompt.
>
>If you want to do a ping and then wait 10 seconds before doing another ping
>then you'll need the sleep.exe program available from, among other places,
>MS.
>
>http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96
ee-b18c4790cffd&displaylang=en
>
>I know, I know: it says "Windows 2003 Server". It should
work just fine
>for you (it does for me on XP).
>
>So now you set up the following batch file (let's call in pingtest.bat):
>
>set echo off
>prompt $p $t $g
>:doit
>ping 1.2.3.4
>sleep 10
>goto doit
>
>Open a DOS window, navigate to the folder where the batch file is located
>and type
>
>pingtest
>
>
>Want to save the output? When you start it in the DOS window simply type
>
>pingtest > pingtest.txt
>
>
>The output from the batch file will be redirected into pingtest.txt. When
>you are running the batch file you can examine the contents of pingtest.txt
>by opening another DOS window, navigating to the folder where the batch file
>is located and entering:
>
>type pingtest.txt
>
>
>
>
>
>"Ellen K." wrote in message
>news:4pblb0heo699vcbh5sj9an94hr7kba7q5b{at}4ax.com...
>> Will that make it write the time to the file after every set of four
>> pings?
>>
>> On Sun, 30 May 2004 21:45:37 -0400, "John Beamish"
> DOT com> wrote in message :
>>
>> >If it's a batch file put this as the first line:
>> >
>> >prompt $p $t $g
>> >
>> >The prompt will become the path ($p) the time ($t) and a greater than
>symbol
>> >($g) that the command line prompt was displayed.
>> >
>> >"Ellen K." wrote in message
>> >news:870lb05fp95guomiq8h4t222cnoq3o7jf9{at}4ax.com...
>> >> That is a very good idea, I can make a one-line batch
file and set it
>to
>> >> start at 6:00 a.m. Tuesday because based on experience so far if a
>> >> problem is gonna happen it will happen between 6:00 and 8:30.
>> >>
>> >> What would be even better would be to also record the
time after each
>> >> set of 4 pings, that way we could see what time it
happens... because
>it
>> >> seems to recover spontaneously. Well, my shell
scripting book is at
>> >> the office, I can always try that for Wednesday if necessary.
>> >>
>> >> On Sun, 30 May 2004 18:09:45 -0400, "Geo."
wrote in
>> >> message :
>> >>
>> >> >"Ellen K."
wrote in message
>> >> >news:ee2kb0p2tq0ba8oft24tajm0fmrssljdp7{at}4ax.com...
>> >> >
>> >> >> However, I don't think the 6509 is constantly
rebooting because that
>> >> >> would affect ALL the servers, and I've only had
problems with one.
>> >> >
>> >> >Easy enough to tell, next time you start having
connections dropped do
>> >this
>> >> >from the command line
>> >> >
>> >> >ping ipaddress_of_server -t > c:\temp.txt
>> >> >
>> >> >let that run while you are doing whatever you do and
if the connection
>> >drops
>> >> >then terminate that window and go look at temp.txt to
see if there
>were
>> >> >timeouts. If you see timeouts it's a network issue of
some sort and
>show
>> >the
>> >> >file to your network guy, if you don't see timeouts
during the period
>the
>> >> >connection drops then the network is probably fine
and you can look
>> >elsewhere.
>> >> >
>> >> >Geo.
>> >> >
>> >>
>> >
>>
>
--- BBBS/NT v4.01 Flag-5
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267 270
@PATH: 379/45 1 633/267
|