From ce91d8935afcd707541a3a098993b31a2086b0ef Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 3 Oct 2024 18:43:54 +0300 Subject: [PATCH] fping: update page (#13960) --- pages/common/fping.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pages/common/fping.md b/pages/common/fping.md index 464881465..0e829e4dd 100644 --- a/pages/common/fping.md +++ b/pages/common/fping.md @@ -3,14 +3,18 @@ > A more powerful ping which can ping multiple hosts. > More information: . +- List the status of all hosts within a range: + +`fping {{192.168.1.{1..254}}}` + - List alive hosts within a subnet generated from a netmask: -`fping {{-a|--alive}} {{-g|--generate}} 192.168.1.0/24` +`fping {{-a|--alive}} {{-g|--generate}} {{192.168.1.0/24}}` -- List alive hosts within a subnet generated from an IP range: +- List alive hosts within a subnet generated from an IP range and prune per-probe results: -`fping {{-a|--alive}} {{-g|--generate}} 192.168.1.1 192.168.1.254` +`fping {{-q|--quiet}} {{-a|--alive}} {{-g|--generate}} {{192.168.1.1}} {{192.168.1.254}}` - List unreachable hosts within a subnet generated from a netmask: -`fping {{-u|--unreach}} {{-g|--generate}} 192.168.1.0/24` +`fping {{-u|--unreach}} {{-g|--generate}} {{192.168.1.0/24}}`