# Advanced ping

**URL:** <https://www.ruby-forum.com/t/advanced-ping/95337>\
**Category:** Ruby\
**Created:** [May 29, 2006, 10:29am UTC](https://www.ruby-forum.com/t/advanced-ping/95337 "2006-05-29T10:29:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![splattael](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/858c86/32.png) [@splattael](https://www.ruby-forum.com/u/splattael)\
**Post date:** [May 29, 2006, 10:29am UTC](https://www.ruby-forum.com/t/advanced-ping/95337/1 "2006-05-29T10:29:51Z")

</div>

Hello all,

I would like to ping a server, but additionally to a yes/no answer i  
need packet loss, min/max/avg time. I have been browsing the different  
ping libraries available in Ruby (well, i have found 2) but neither of  
them contained this functionality. Maybe i just overlooked the right  
one, or if not, how should i tackle this?

I remember i did this long time ago in Python by calling the command  
line ping and screen-scraping the result. Ugly solution, but worked.  
Anything better over here?

Thx,  
Peter
