Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
In my college many proxy : port (like 188.8.131.52:8080)are using to get Internet connection, performance of each proxy changes, how can i decide which one is working well at particular time. is there any way to switch over them automatically ?
Click here to see the post LQ members have rated as the most helpful post in this thread.
You can generally ping the IP and get a response time.
$ ping -c 4 <IP>
64 bytes from ir1.fp.vip.sp2.yahoo.com (184.108.40.206): icmp_seq=2 ttl=47 time=71.5 ms
Ping all your options and the one with the fastest time (lowest number) is likely the best one (at the time of the ping). Perhaps not the best depending on how it reacts down stream. But it's a start. There probably is a way to automate it. I'm not familiar with said way at this time. And ping may not work if it's blocked by firewall or other quirks. And best might vary depending on what you're trying to reach downstream and not the proxy in general. Sometimes just finding one that works is about as good as it gets.
ping doesn't use 8080, that's generally used for http at the user level. But ping sends a different type of packet anyway.
The ping does 3 things.
1) verifies that the IP is valid (or not)
2) verifies that the network reaches that address (or not)
3) gives a response time in how long it takes to talk to said computer across the network.
(the lower the number the better)
Assuming it's not blocked by firewall, yours or theirs.
#3 is no guarantee of a particular proxy being best. As even though you can connect to it the fastest, it's no indication of how it performs on the other end of that chain. The only way to really know is to just use all of them and then adjust to the one that is best (at that particular moment in time for that particular use). It's all pretty much an effort in futility though. If your school had a better network you wouldn't need to do any of that. And it's not a skill that's going to make you millions or even minimum wage out in the real world.