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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to do some pings on several servers of mine and want them to be done as fast as possible, since my script should later run as kinda daemon. Now I am facing that problem, when I use ping -f [ips] then I get that result:
Quote:
ping: cannot flood; minimal interval, allowed for user, is 200ms
Now I wonder where I can turn of that lock that would not allow me to send more than one ping in 200ms (I got root access)?
Ping as root will allow you to make a flood. The limit seems to be internal to ping, because the protocol (and implementation) does not have such limitation.
So there is no way to do that without being root? Since basically I want to run that script - or rather sayed the script the ping would be part of - as a cronjob...
thx mara tried that, still the same problem... wouldnīt ping at the rate I want it to do (even when done in round robin principle like fping does), since fping would ping about 50 hosting packages almost at once and then kinda freeze pinging only 1 further per sec as it seems... despite of that fping -f(file) would only work as root wouldnīt it? I am running the script when itīs done as a cronjob, so to say not SU but user...
Well...You can run cron jobs for root (so as root). On the other hand, it's probably not the best idea. If the pinging is needed to find out which services are on, have you considered opening/closing a connection instead of ping?
thx mara :) tried that, still the same problem... wouldnīt ping at the rate I want it to do (even when done in round robin principle like fping does), since fping would ping about 50 hosting packages almost at once and then kinda freeze pinging only 1 further per sec as it seems... despite of that fping -f(file) would only work as root wouldnīt it? I am running the script when itīs done as a cronjob, so to say not SU but user... :)
I still don't understand why you require ping flooding to prove that
a machine is up. What are you going to do if it isn't?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.