pingを打ち続けている最中に、平均遅延時間や平均ロス率などを知りたい、でもここで止めたら最初からやりなおし、ぐぬぬ、といった経験ありませんか?ありますよね?ね? 実は大抵のpingコマンドには、ping中に統計情報を表示する機能が実装されています。 BSD系(Mac OS X含む)の場合、Ctrl+t(SIGINFO)で manに記載がありました。 If ping receives a SIGINFO (see the status argument for stty(1)) signal, the current number of packets sent and received, and the minimum, mean, and maximum of the round-trip times will be written to the standard error outp
![ping中に統計情報を表示するショートカット(MacでもLinuxでもWindowsでも) - このブログはURLが変更になりました](https://cdn-ak-scissors.b.st-hatena.com/image/square/d377c2680ee6066d24284885ea3703c5e39ccb8f/height=288;version=1;width=512/http%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2F8%2F8c%2FKey_break.jpg)