array(2) { ["docs"]=> array(0) { } ["count"]=> int(0) } 111string(0) "" int(1) int(10) int(70) int(8640000) string(13) "likecs_art_db" array(1) { ["query"]=> array(1) { ["match_all"]=> object(stdClass)#28 (0) { } } } array(1) { ["createtime.keyword"]=> array(1) { ["order"]=> string(4) "desc" } } int(10) int(0) int(8640000) array(2) { ["docs"]=> array(0) { } ["count"]=> int(0) } cmd 监控网络状况 - 爱码网


提示:如果提示curl不是内部命令,请自行百度 windows 安装curl

@echo off
color 1f
title 正在监控
echo 正在监控http://ioscheck.duapp.com/app/ios/check_test.json...
:aaa
 curl -s http://app-static.acc5.com/check_test.json>check.txt
set /p str=<check.txt

echo  [%Date:~0,4%-%Date:~5,2%-%Date:~8,2% %time:~0,2%:%time:~3,2%:%time:~6,2%] %str%
ping 1.1.1.1 -n 1 -w 10000 > nul
goto  aaa
pause

 

相关文章: