Link to home
Start Free TrialLog in
Avatar of Jim Metcalf
Jim MetcalfFlag for United States of America

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?
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

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.
Avatar of Jim Metcalf

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
Avatar of Dean Chafee
Dean Chafee
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Dr. Klahn
Dr. Klahn

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
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial