Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java library to measure bandwith, latency, hop-count?

Tags:

java

I would be very thankful for your help: Do you know any good Java Libraries that can easily be embedded in any Java application that help to measure at least the

  • bandwidth
  • latency
  • hopcount

For example I have a file www.test.com/testfile.tmp and want to measure the aforementioned parameters in downloading the file. Do you know of a good library that can do this?

Thank you very much!! Jan

like image 723
Jan Avatar asked Feb 03 '10 16:02

Jan


1 Answers

Take a look at the apache commons network library: http://commons.apache.org/net/ . It'll have some of the things you need to measure. Echo is a powerful, yet restricted tool; most of the sites will have the echo function restricted, but if you are trying to measure within your own network, it'll help.

like image 122
Oso Avatar answered Sep 21 '22 06:09

Oso