-6

How can I measure bandwidth using ping? I know I could use something like iperf on each end to do the measurement, but I can't do that because I don't have access to the remote system. Maybe if I play with the ping size parameter? Even an estimate will suffice.

  • 3
    You don't measure bandwidth using ping. What are you really trying to do? – Michael Hampton Feb 27 '14 at 21:25
  • 1
    You can't. Ping is used to test reachability. http://en.wikipedia.org/wiki/Ping_%28networking_utility%29 – ETL Feb 27 '14 at 21:26
  • 1
    What I'm trying to do is find out the bandwidth estimate to a given IP. To any IP. Its for diagnostic purposes. Don't understand why this has been marked down. This is not a stupid question especially since a very good solution exists. What's even more frustrating is that I accepted the (very good) answer only to have it disappear. – user3361323 Feb 28 '14 at 04:53
  • Yet again, I find myself forced to repeat: *The only thing that ping is a **reliable** test for is whether or not ping works.* – Rob Moir Feb 28 '14 at 08:25
  • 1
    All I have to say is that the solution does exist. See in the comments below. It's called pingb. – user3361323 Feb 28 '14 at 15:55
  • Relevant to professional system administration? Yes. Very professional. It's not a stupid question. The proof is that there is even a solution called pingb. Questions must demonstrate minimal understanding? Yes. Very deep understanding actually. If you use ping tool in a smart way you can do much more with it than the manual tells you. Again refer to the (deleted) solution or comments further below. ... Or are we arguing between distinction between "ICMP echo" and traditional "ping" command? Really? That silly? – user3361323 Feb 28 '14 at 16:02

1 Answers1

4

How can you put a nail through a board with a feather? You can't. You need to pick the correct tool for whatever job you have. If you describe in more detail precisely what it is you're trying to do, people can probably tell you what the right tool for the job is.

David Schwartz
  • 31,215
  • 2
  • 53
  • 82
  • 1
    Don't know what are you talking about. I accepted an answer that clearly showed the solution. I don't know why it's been deleted though. If you go to http://www.florian.ca/pingb/ you can see for yourself – user3361323 Feb 28 '14 at 04:49