I've added formatted output for iputils-ping. Nowadays, ping output in
every Linux distribution is liltle diferrent and we have to write
distro-specific regular expression.
Patch (2,6K) is there :
http://samon.php5.cz/tmp/iputils-o.patch.gz
Usage: ping '-o format' and there are valid marks:
%h .......... hostname
%t .......... transmitted
%r .......... received
%d .......... duplicated
%c .......... corrupted
%e .......... errors
%l .......... packet loss
%L .......... packet loss (with %)
%i .......... time (v ms)
%n .......... rtt - min
%a .......... rtt - avg
%m .......... rtt - max
%v .......... rtt - dev
%p .......... pipe
%g .......... ipg
%w .......... ewma
There is a support for backslashed characters ('\a' '\b' '\e' '\f' '\n'
'\r' '\t' '\v') too.
But I don't know, who is the maintaner of iputils. Anybody knows?