|
Answer» Hello, Good Morning..!!!
Please help suggesting an application or help in developing a script/ batch file through which i can capture continuous trace route of an IP address with time stamp.
Regards, GCMaybe show us a small example of what you want your output too look like.My thoughts on this is that your time stamp with not be exact to that of the TRACEROUTE routine for each hop, so if your looking for extreme precision of lesser than say 10 seconds of time, it can be troublesome without using a different program than traceroute that has this feature built into it or programming your own which is usually not in the means of those looking for assistance with doing this.
The issue for actual time stamp of each hop is that you will be running Traceroute function which when running takes the single threaded priority of the command SHELL, and each hop takes time. You could capture a time stamp prior to Traceroute and one at the end of the Traceroute routine and know that between this time frame this is what was measured and the route taken.
Also it depends on how many hops you want, to what depth of routing you require. As well as are you only tracerouting a specific destination or a bunch of them?
CODE: [Select]@echo. Traceroute Sample Started %date% at %time%>>Traceroute.log tracert www.google.com>>Traceroute.log @echo. Traceroute Sample Ended %date% at %time%>>Traceroute.log This would give you start and stop time of the traceroute and all contents of the traceroute, but you wouldn't see any info to display when this is happening as for the information is redirected to WRITE to Traceroute.log Just need to replace www.google.com with whatever your tracerouting.
|