From: Jesus C. <jcl...@cc...> - 2001-07-02 18:36:02
|
Well... I have been working in a new config option, named bestping. It will work as using a "touch /tux/config/bestping" procedure, and basically will check a set of servers for a best result in a=20 "ping -c 1 <server>" test. The procedure requires the ping to take the server from the /tux/config/server list and try it, creating a table of pairs "time->server", sorting them and using them in a first-come-first-served basis. For the use of that script, it will have to be said in the config manual that lost pings take a while, while timing out, so it might not be the option for the long run (ping and reping again in every connection). A new setting option should be created (as creating a server.bp) and use a new "bestpingonce" option. Should it be set, and server.bp exists, no further ping is done, and server.bp is used. For those purposes, awk would be of my interest to be included, since is 60K long (not recompiled with any small library, such uC<something>) and does the basic tricks needed for the job. Any feedback is highly welcome. Jesse PS: the addition to the /linuxrc script is almost done, while depends on awk and thus on the version of awk used.=20 I just came back home and I have no slackware installation around, but I will try UserModeLinux to check the whole thing. J. --=20 Jesus Climent | Un*x System Admin | Helsinki, Finland ----------------------------------------------------- Contact information: http://www.simauria.upv.es/~data ----------------------------------------------------- Registered Linux user #66350 Debian 2.2 & Linux 2.4.5 "In the open-source community, we have a favorite quote from=20 Mohandas Gandhi: 'First they ignore you. Then they laugh at you. Then they fight you. Then you win.' Evidently, we are=20 getting close to winning." Eric Raymond.=09 |