How to use ping detail value (round-trip) in script

**Hi

I want to use ping to check different gateways average round-trip time and then select gateway as default route.
ping only return success count. Any way to get other details.

Thanks**

no, not from script or APi at this moment.

if you want balance traffic, then use one of load balancing methods discussed in the forums and wiki.