Package: fping
Version: 4.2-1
Severity: wishlist

In --loop or --count modes for example:

# fping --timestamp  -6 -A -d --count 10 2a00:1450:400a:802::3

2a00:1450:400a:802::3 (2a00:1450:400a:802::3) : xmt/rcv/%loss = 10/0/100%
#

Adding -u or -a doesn't help. Adding -u -a (both), is not supported.

I would expect something more useful, i.e.:

# fping --timestamp  -6 -A -d --count 10 2a00:1450:400a:802::3
[1554914998.643838] 2a00:1450:400a:802::3 (2a00:1450:400a:802::3) : [0], 64 
bytes, timeout, 1000ms (nan avg, 100% loss)
[1554914999.645784] 2a00:1450:400a:802::3 (2a00:1450:400a:802::3) : [1], 64 
bytes, timeout, 1000ms (nan avg, 100% loss)
[1554915000.646059] 2a00:1450:400a:802::3 (2a00:1450:400a:802::3) : [2], 64 
bytes, timeout, 1000ms (nan avg, 100% loss)
[1554915001.647150] 2a00:1450:400a:802::3 (2a00:1450:400a:802::3) : [3], 64 
bytes, timeout, 1000ms (nan avg, 100% loss)
[1554915002.647459] 2a00:1450:400a:802::3 (2a00:1450:400a:802::3) : [4], 64 
bytes, timeout, 1000ms (nan avg, 100% loss)
[1554915003.648428] 2a00:1450:400a:802::3 (2a00:1450:400a:802::3) : [5], 64 
bytes, timeout, 1000ms (nan avg, 100% loss)
[1554915004.649674] 2a00:1450:400a:802::3 (2a00:1450:400a:802::3) : [6], 64 
bytes, timeout, 1000ms (nan avg, 100% loss)
[1554915005.650596] 2a00:1450:400a:802::3 (2a00:1450:400a:802::3) : [7], 64 
bytes, timeout, 1000ms (nan avg, 100% loss)
[1554915006.651561] 2a00:1450:400a:802::3 (2a00:1450:400a:802::3) : [8], 64 
bytes, timeout, 1000ms (nan avg, 100% loss)
[1554915007.652256] 2a00:1450:400a:802::3 (2a00:1450:400a:802::3) : [9], 64 
bytes, timeout, 1000ms (nan avg, 100% loss)

2a00:1450:400a:802::3 (2a00:1450:400a:802::3) : xmt/rcv/%loss = 10/0/100%
#

or something like this.

The main benefit is when the packet loss is interminent, as the output is
then easier to be ingested into external monitoring systems.

Cheers,
Witold



-- Package-specific info:
-rwxr-xr-x 1 root root 48032 Feb 19 22:27 /usr/bin/fping
lrwxrwxrwx 1 root root     5 Feb 19 22:27 /usr/bin/fping6 -> fping

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-2-amd64 (SMP w/32 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages fping depends on:
ii  libc6        2.28-8
ii  libcap2-bin  1:2.25-2
ii  netbase      5.5

fping recommends no packages.

fping suggests no packages.

-- no debconf information

Reply via email to