Jim Metcalf
asked on
Test connectivity over a 24 hour period
Possible network problem. I want to run a ping for 12 hours or so that will export the output of the results into a text file or analyzing. I also want each line item of the ping to have the time on it when it was run. I have seen some examples online but they are not working for me. would like to use cmd prompt but am open to powershell if that is a better option.
could someone show me an example of this?
could someone show me an example of this?
You should know that 'ping' doesn't tell you that any other protocols like HTTP are working. It does tell you that you have the basic connection working. I've had a server that had nothing but 'ping' working. No website, no email.
ASKER
we think the network is dropping but can't pinpoint the times... I think the ping might be a good first step to knowing
It well could be if you are actually losing the connection. I always feel a need to point out that ping doesn't check anything else.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
when I run that .bat logic... I get a ton of line items popping up saying.
the process cannot access the file because it is being used by another process
the process cannot access the file because it is being used by another process
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
If you have access to a linux machine (or a C compiler on the Windows system), try the code in this discussion.
https://www.experts-exchange.com/questions/29081562/perform-dns-query-programmatically.html
https://www.experts-exchange.com/questions/29081562/perform-dns-query-programmatically.html
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.