每隔一段时间执行命令bat脚本 @echo start :start adb shell dumpsys meminfo com.xxx.gallery ping 127.1 -n 2 >null goto start ping命令-n表示间隔时间,秒为单位,-w表示执行次数