192.168.100.180jannl wrote:What ip address exactly are you pinging?
LUA, What is wrong in my code
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
-
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
Just checked, try:
time ping 192.168.100.180 -c1
to see how much time a single ping to nonresponsive ip address takes
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
I cant measure it and cant find a way to let Linux print the timestamp.
But I found this text for option -W
But I found this text for option -W
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?-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.
Who is online
Users browsing this forum: No registered users and 1 guest