arg parsing, ping statistics