You can set the first two when you call Net::Ping so those are known. You can compute number 5 roughly by timing the call to ping. Number 3 is mostly to tell you about lost and out of order packets -- it is not returned by Net::Ping nor is number 4. What info do you really need?