Ping full result

Hi all!
How I can get complete response Ping command from a script,
eg “sent=2 received=2 packet-loss=0% min-rtt=60ms avg-rtt=60ms max-rtt=60ms”?

Exemple from script

:put [:ping 8.8.8.8 count=4]

I get answer 4, but I need full answer, or the median latency (min-rtt and max-rtt)

Before open any new topic, use search function.

Search betwen my posts and you find the solution.