Quantcast
Channel: Active questions tagged windows - Super User
Viewing all articles
Browse latest Browse all 9663

How can I perform a ping every X minutes and check the response time?

$
0
0

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:LOOPSTARTtime /Tping xxx.xx.x.x  -t >> filename.txtsleep -m 3000GOTO LOOPSTART

Viewing all articles
Browse latest Browse all 9663

Trending Articles