Timestamp ping output (moreutils)
ping google.com | ts '[%Y-%m-%d %H:%M:%S]'
Prepends a timestamp to each line of ping output, using the ts command from the moreutils package.
ping google.com | ts '[%Y-%m-%d %H:%M:%S]'
Prepends a timestamp to each line of ping output, using the ts command from the moreutils package.