Hallo,
wie kann ich aus z.B. dieser Liste
das "avg" bei _round_trip direkt ermitteln ?
Also irgendein direkter aufruf blabalbalbla ergibt 8.0 .
Gruss
wie kann ich aus z.B. dieser Liste
Code:
[_icmp_sequence] => Array ( [0] => 8.0 [1] => 7.8 [2] => 7.8 ) [_target_ip] => 217.72.195.42 [_bytes_per_request] => 64 [_bytes_total] => 256 [_ttl] => 52 [_raw_data] => Array ( [0] => PING web.de (217.72.195.42): 56 data bytes [1] => 64 bytes from 217.72.195.42: icmp_seq=0 ttl=52 time=8.0 ms [2] => 64 bytes from 217.72.195.42: icmp_seq=1 ttl=52 time=7.8 ms [3] => 64 bytes from 217.72.195.42: icmp_seq=2 ttl=52 time=7.8 ms [4] => [5] => --- web.de ping statistics --- [6] => 3 packets transmitted, 3 packets received, 0% packet loss [7] => round-trip min/avg/max = 7.8/7.8/8.0 ms ) [_sysname] => linux [_round_trip] => Array ( [min] => 7.8 [avg] => 8.0 [max] => ) [_transmitted] => 3 [_received] => 3 [_loss] => 0
Also irgendein direkter aufruf blabalbalbla ergibt 8.0 .
Gruss
Kommentar