First: Great tool!
If I send a list of addresses to ping, I can get the results of addresses that has latency (and if any, addresses with errors).
Usually I print each immediately, but if I wanted to put then in an array I need to know when all in finished to then do something else.
If every address returned a response (such as: UP / DOWN / ERROR) then I could count the number of hosts input and number of responses. (When equal then completed...)
However only results for latency (and if any, error) are returned.
So is there a way to test a list and determine when all is finished?
First: Great tool! If I send a list of addresses to ping, I can get the results of addresses that has latency (and if any, addresses with errors). Usually I print each immediately, but if I wanted to put then in an array I need to know when all in finished to then do something else. If every address returned a response (such as: UP / DOWN / ERROR) then I could count the number of hosts input and number of responses. (When equal then completed...) However only results for latency (and if any, error) are returned. So is there a way to test a list and determine when all is finished?