使用ping 的定時功能,精度1秒
ping -n 5 127.0.0.1 > null
說明:5爲ping包發送次數,可作爲延遲秒數進行使用,需要延遲幾秒就設置幾。
-n count Number of echo requests to send.
使用ping 的定時功能,精度1秒
ping -n 5 127.0.0.1 > null
說明:5爲ping包發送次數,可作爲延遲秒數進行使用,需要延遲幾秒就設置幾。
-n count Number of echo requests to send.