Page 2 of 2

Re: LUA, What is wrong in my code

Posted: Monday 27 June 2016 11:19
by Flopp
jannl wrote:What ip address exactly are you pinging?
192.168.100.180

Re: LUA, What is wrong in my code

Posted: Monday 27 June 2016 11:21
by jannl
Just checked, try:
time ping 192.168.100.180 -c1
to see how much time a single ping to nonresponsive ip address takes

Re: LUA, What is wrong in my code

Posted: Monday 27 June 2016 11:44
by Flopp
I cant measure it and cant find a way to let Linux print the timestamp.

But I found this text for option -W
-W timeout Time to wait for a response, in seconds. The option affects only timeout in absense of any responses, otherwise ping waits for two RTTs.
If I dont use -W, which I dont do, Ping by default will wait 2 RTT. What is RTT, found some pages saying the it is Round Trip Time?