What does this output from ping command mean?

I am trying to ping a server through python and analyze the output of the command. This is the code:

import os


pingBool = False

while pingBool == False:
    ping = os.system("timeout 3 ping " + "10.0.0.223")
    print(ping)

This is the output:

PING 10.0.0.223 (10.0.0.223) 56(84) bytes of data.
64 bytes from 10.0.0.223: icmp_seq=1 ttl=128 time=5.89 ms
64 bytes from 10.0.0.223: icmp_seq=2 ttl=128 time=5.73 ms
64 bytes from 10.0.0.223: icmp_seq=3 ttl=128 time=7.01 ms
31744

The "31744" is the output of the print statement print(ping). I am wondering what that number means? Any help is appreciated.



Read more here: https://stackoverflow.com/questions/65840057/what-does-this-output-from-ping-command-mean

Content Attribution

This content was originally published by Alex Michael at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: