Hello, I'd like a certain ping feature but it doesn't exist.

So, I'm looking into contributing it.

I hear this is the place to seek consensus?

I'd submit it to gnu and call it gping.

My new feature; wanted ping to never give the statistics at the end.

Purpose is to make result output of batch pings to many machines less messy.

In researching this, I found many people wanted the opposite; rolling
statistics with each ping.

Thought I'd implement that too.

For that, I thought I'd add two flags to an open-source ping repo.

Flags would be X for statistiX
-x. No statistics at end
-X. Statistics with every ping

gping
would behave normally and obey all other flags

gping -x would give this result:
/utils> gping -x 192.168.155.119
PING 192.168.155.119 (192.168.155.119): 56 data bytes
64 bytes from 192.168.155.119: icmp_seq=0 ttl=64 time=12.239 ms
64 bytes from 192.168.155.119: icmp_seq=1 ttl=64 time=0.591 ms
64 bytes from 192.168.155.119: icmp_seq=2 ttl=64 time=0.543 ms
^C
           <-- No ping statistics
/utils>

gping -X would give this result
statistics numbers made up
semicolon for grep purposes

/utils> gping -X 192.168.155.119
PING 192.168.155.119 (192.168.155.119): 56 data bytes
64 bytes from 192.168.155.119: icmp_seq=0 ttl=64 time=13.561 ms;
0.445/2.414/13.561/4.553 ms
64 bytes from 192.168.155.119: icmp_seq=1 ttl=64 time=0.455 ms;
0.461/2.414/13.561/4.551 ms
64 bytes from 192.168.155.119: icmp_seq=2 ttl=64 time=0.757 ms;
0.721/2.414/13.561/3.611 ms
^C
<-- No ping statistics, already in output above
/utils>

Comments?

-- 
*_/  _/  _/   Alfredo Jacobo  :::  *ajpg.w...@gmail.com

*_/  _/  _/   LinkedIn: http://www.linkedin.com/in/alfredojacobo/
<http://www.linkedin.com/in/alfredojacobo/>
<http://www.linkedin.com/in/alfredojacobo/>*

Reply via email to