26
5
I am currently working in a big company and we have serious latency issues. This is happening in a process control system, and is unacceptable (Open a valve sometimes take 2 minutes before command start)
I want to double-check when the network team says "everything is alright on the network". So, I want to create a loop that pings the server and writes the result in a text file.
I am not a batch expert, but do you think this code is correct to use?
@ECHO OFF
:LOOPSTART
time /T
ping xxx.xx.x.x -t >> filename.txt
sleep -m 3000
GOTO LOOPSTART
http://oss.oetiker.ch/smokeping/ – Zoredache – 2011-10-11T07:43:04.370
@Zoredache I cannot install such softwares on a Process control computer: http://dev.pulsed.net/wp/?p=31
– Waza_Be – 2011-10-11T08:06:16.180"win XP Professional" is not DOS. – user1686 – 2011-10-11T12:32:24.210