您的位置:首页 > 其它

ubuntu ping 命令

2013-12-14 21:27 429 查看
今天用ubuntu ping局域网的主机时, 发现一直在不停的ping,刚接触ubuntu,无奈太菜,汗~~~。


64 bytes from 192.168.1.100: icmp_req=1 ttl=128 time=0.240 ms

64 bytes from 192.168.1.100: icmp_req=2 ttl=128 time=4.82 ms

64 bytes from 192.168.1.100: icmp_req=3 ttl=128 time=3.52 ms

64 bytes from 192.168.1.100: icmp_req=4 ttl=128 time=5.77 ms

64 bytes from 192.168.1.100: icmp_req=5 ttl=128 time=0.331 ms

64 bytes from 192.168.1.100: icmp_req=6 ttl=128 time=0.274 ms

64 bytes from 192.168.1.100: icmp_req=7 ttl=128 time=0.238 ms

64 bytes from 192.168.1.100: icmp_req=8 ttl=128 time=0.242 ms

64 bytes from 192.168.1.100: icmp_req=9 ttl=128 time=0.246 ms
64 bytes from 192.168.1.100: icmp_req=10 ttl=128 time=0.234 ms

解决方法。

1. ctrl + c

2.采用这个命令ping主机: ping -c 10 192.168.1.100 (10次),不用过多解释吧~~~~


=========================================================================

Ctrl+C:送SIGINT信号,默认进程会结束,但是进程自己可以重定义收到这个信号的行为。

Ctrl+Z:送SIGSTOP信号,进程只是被停止,再送SIGCONT信号,进程继续运行。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: