开源中文网

您的位置: 首页 > solaris > 正文

solaris ping

来源:  作者:

solaris ping 默认信息如下:

 

bash-3.2# ping mail.163.com 

mail.163.com is alive         

 

如果要显示像正常ping并返回信息的话我们可以增加 ping -s 即可 实现


bash-3.2# ping -s 192.168.72.254 

PING 192.168.72.254: 56 data bytes 64 bytes from 192.168.72.254: icmp_seq=0. time=1.139 ms 64 bytes from 192.168.72.254: icmp_seq=1. time=1.021 ms 64 bytes from 192.168.72.254: icmp_seq=2. time=1.023 ms 64 bytes from 192.168.72.254: icmp_seq=3. time=1.009 ms 64 bytes from 192.168.72.254: icmp_seq=4. time=1.028 ms 64 bytes from 192.168.72.254: icmp_seq=5. time=1.111 ms ^C ----192.168.72.254 PING Statistics---- 6 packets transmitted, 6 packets received, 0% packet loss round-trip (ms) min/avg/max/stddev = 1.009/1.055/1.139/0.055


Tags:solaris ping
关于开源中文网 - 联系我们 - 广告服务 - 网站地图 - 版权声明