Webhosts racing script? - and the winner is....

They have: 7 posts

Joined: Jun 1999

Hi,

a want to measure the ping time and a traceroute to see howmany hop's are connected.
I want to use it on my host search engine site (http://www.hostfinder.net) maybe it can help some of the people and its a nice feature I don't have and some other host search engine site have.

Marcel.
http://www.hostfinder.net

They have: 7 posts

Joined: Jun 1999

Hi,

I'm looking for a script for my site, a script that can test 2 webhosts to check which one is the fastest, in ASP or PERL.

Thanks.
Marcel Vogel
http://www.hostfinder.net

They have: 453 posts

Joined: Jan 1999

Hi,

what do you want exectly ?

The speed at which the host answers or the speed at which it can send data to you ?

In general I would say this data would be pretty useless unless you have a server directly on the backbone with a dedicated connection.

You could measure:
- the "ping"-time
- the answer-time
- the transfer-rate
but only to your host, which wouldn't have any objective data in it.

What do you ant to do with the data?

ciao
Anti

They have: 453 posts

Joined: Jan 1999

Hi,

do you have telnet-access to your host ?
Just type "type traceroute" and write down the whole path.
Then write a small perl-script that calls it via open(TRACE,"/whereever/traceroute $target);
and parse the output.
Maybe it would be a good idea to check $target before using it Wink

If there isn't traceroute on your server you'll have to build your own ICMP-packets which could get very hard in perl.

ciao
Anti

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.