The mtr command is a combinatiion of ping and traceroute command. It continuously sends packet showing ping time for each hop. It also shows network problems.
Look at the above snapshot, hop 4 is loosing over 50% of the packets. To exit press ctrl + c.