LUA, What is wrong in my code

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Flopp
Posts: 279
Joined: Sunday 03 January 2016 14:55
Target OS: -
Domoticz version:
Location: Sweden
Contact:

Re: LUA, What is wrong in my code

Post by Flopp »

jannl wrote:What ip address exactly are you pinging?
192.168.100.180
jannl
Posts: 825
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.5.x
Location: Geleen
Contact:

Re: LUA, What is wrong in my code

Post 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
Flopp
Posts: 279
Joined: Sunday 03 January 2016 14:55
Target OS: -
Domoticz version:
Location: Sweden
Contact:

Re: LUA, What is wrong in my code

Post 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?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest