Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 05-18-2016, 09:22 AM   #1
LQ Newbie
Registered: May 2016
Posts: 1

Rep: Reputation: Disabled

I am using fping to show the address ip of hosts alive like this:
fping -A -d -a -q -g>file.txt
the result of this command is:
livebox.home (
set-top-box41.home (
pc38.home (
pc43.home (
pc39.home (
My problem is that this command display this hosts and take about 28s to stop running.I don't know how can i do to stop this command after it display the hosts.
Please help me.
Thank you in advance for your answers
Old 05-18-2016, 09:57 AM   #2
Registered: May 2011
Location: OK, USA
Distribution: Slackware 14.1_64
Posts: 70

Rep: Reputation: 50
Originally Posted by zied99 View Post
My problem is that this command display this hosts and take about 28s to stop running.

28s seems about normal for this command with number of addresses, and number that are active. If you read "man fping", it will tell you the default is 3 attemps, also with a 500ms timeout, and icmp packet sending interval of 25ms.

Try adding "-r 1" for 1 retry, maybe "-i 10" for shorter interval, perhaps play with "-t n" ( where n is in ms (defaults to 500)).
Do you need to go to, remember each address that is not live will waste approx. 1500ms.

Anyhow hopefully interpreted the manpage some for you...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to stop fping conditionally massy Linux - General 3 01-21-2014 08:05 AM
[SOLVED] using fping in a shell for running in crontab massy Linux - General 1 01-21-2014 04:57 AM
Need help installing FPING Treikayan Linux - Software 2 10-31-2008 11:18 PM
ping from a file (not fping) noir911 Linux - Networking 2 02-04-2008 08:45 PM
fping says > duplicate for [0] saavik Linux - Networking 2 09-30-2002 02:24 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:20 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration