Hi I am new to the BBB and Linux. I am trying to ping a device and pull the round trip time and make an LED come on if it is within a certain time.
For instance if the ping is less than 20ms I want a green light and if it is more than I want a yellow light, if it fails I want a red light. I have used an LED no problem, however I am at a loss for how to extract the ping time.
Is there any command out there that can do this for me?