Advanced ping


#1

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