- 论坛徽章:
- 0
|
说到ping,说一下ping的一个很好玩而且好用的功能ping -f +ip
要root权限,动态显示主机和你的ping值。
如果你ping -f +ip >a.log的话,用vi打开,一般会是这样:
......^H.^H.^H.^H^H.^H..^H.^H^H.^H^H..^H
附man:
-f Flood ping. For every ECHO_REQUEST sent a period ‘‘.’’ is printed, while for ever ECHO_REPLY
received a backspace is printed. This provides a rapid display of how many packets are being
dropped. If interval is not given, it sets interval to zero and outputs packets as fast as
they come back or one hundred times per second, whichever is more. Only the super-user may
use this option with zero interval. |
|