kjcdude Posted February 27, 2008 Posted February 27, 2008 I push updates to around 200 some odd pcs a few times a week, but i have to do it in groups of 20 due to timeouts and issues with some of the servers. What i'd like to do is have each pc ping the local server and see if there is a delay, if so it will sleep for 30 seconds and retry again. My issue is that with the autoit ping it uses the default 32 packets. Is there a way to increase the amount of data sent and received, or a better way to check the latency on a local server? Thanks
weaponx Posted February 27, 2008 Posted February 27, 2008 This has been requested before:http://www.autoitscript.com/forum/index.ph...hl=ping++packetYou may be better off using $result = RunWait("ping...etc")$result will return the exitcode from ping.
kjcdude Posted February 27, 2008 Author Posted February 27, 2008 I used your suggestion and did this. $begin = TimerInit() $result = RunWait("ping -l 56600 nas", "", "@SW_HIDE") $dif = TimerDiff($begin)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now