Ping命令参数设置
我想ping另一台机器10.10.25.1,
ping -t 10.10.25.1 时他只是按照默认时间间隔不停地发包;
现在我想每5秒钟才发一个包不停的发,直到Ctr+C,这样的命令怎么写啊?请个位指教。
------解决方案--------------------ping -i 5 10.10.25.1
------解决方案--------------------
------解决方案--------------------
楼主什么操作系统啊? 不同系统参数不一样的
Solaris
usage: ping host [timeout]
usage: ping -s [-l | U] [adLnRrv] [-A addr_family] [-c traffic_class]
[-g gateway [-g gateway ...]] [-F flow_label] [-I interval]
[-i interface] [-P tos] [-p port] [-t ttl] host [data_size] [npackets]
Red Hat
Usage
Usage: ping [-LRUbdfnqrvV] [-c count] [-i interval] [-w wait]
[-p pattern] [-s packetsize] [-t ttl] [-I interface address]
[ -T timestamp option ] [ -Q tos ] host