============================================================= Mon 12/21/2020 12:00:03.64 - Version: 3.000 - E:\cams2_queue\RunFolder\status_check.bat [".. emp\status" "status_check_LOCAMS.txt"] [status_check.bat:SETUP ".. emp\status" "status_check_LOCAMS.txt"] Please wait... ******* Detecting noisy cameras ************* [CALL status_check.bat:LOOP_LISTFILE] "E:\cams2_queue\RunFolder\status_check_LOCAMS.txt" for /f "usebackq tokens=*" ..a in (`findstr /i "getstatus_" "E:\cams2_queue\RunFolder\status_check_LOCAMS.txt"`) do ( Now download/caching ALL "GetStatus_000900_*.txt" files to "E:\cams2_queue\RunFolder". Now download/caching ALL "GetStatus_000916_*.txt" files to "E:\cams2_queue\RunFolder". Now download/caching ALL "GetStatus_000941_*.txt" files to "E:\cams2_queue\RunFolder". Now download/caching ALL "GetStatus_000957_*.txt" files to "E:\cams2_queue\RunFolder". ) for /f "usebackq tokens=*" ..a in [`findstr /i "getstatus_" "E:\cams2_queue\RunFolder\status_check_LOCAMS.txt"`] do [ for /f "usebackq tokens=*" ..b in (`dir /b /a-d "E:\cams2_queue\RunFolder\GetStatus_000900_*.txt"`) do ( File: 3.001 Total Detections=753 GetStatus_000900_DC_DiscoveryChannel_.txt [2020-12-21T11:46:17.420-07:00 2020-12-21T18:46:17.388+00:00 UTC] for /f "usebackq tokens=*" ..b in (`dir /b /a-d "E:\cams2_queue\RunFolder\GetStatus_000916_*.txt"`) do ( File: 3.001 Total Detections=600 GetStatus_000916_MH_MarsHill_.txt [2020-12-21T11:53:26.768-07:00 2020-12-21T18:53:26.721+00:00 UTC] for /f "usebackq tokens=*" ..b in (`dir /b /a-d "E:\cams2_queue\RunFolder\GetStatus_000941_*.txt"`) do ( Station: ######### CAMS STATUS FOR STATION: "000941_ER_Prescott" ################################## File: 3.001 Total Detections=20731 GetStatus_000941_ER_Prescott.txt [2020-12-21T09:53:41.262-07:00 2020-12-21T16:53:41.215+00:00 UTC] 000942 Detections=000006/20731 ***** EXCESSIVE DROPPED FRAMES 1382 dropped 1.79 dropped/min 000944 Detections=006175/20731 WATCH - FIX CAMERA NOISE 000945 Detections=013668/20731 CRITICAL - FIX CAMERA NOISE AND CHECK DISK SPACE 000949 Detections=000374/20731 ***** EXCESSIVE DROPPED FRAMES 373708 dropped 484.47 dropped/min 000950 Detections=002902/20731 WARNING - CHECK CAMERA NOISE 000952 Detections=022107/20731 CRITICAL - FIX CAMERA NOISE AND CHECK DISK SPACE 000955 Detections=004057/20731 WARNING - CHECK CAMERA NOISE ***** EXCESSIVE DROPPED FRAMES 1059 dropped 1.37 dropped/min 000949 Detections=000007/20731 ***** EXCESSIVE DROPPED FRAMES 354721 dropped 459.83 dropped/min 000950 Detections=000015/20731 ***** EXCESSIVE DROPPED FRAMES 1425 dropped 1.85 dropped/min 000951 Detections=000005/20731 ***** EXCESSIVE DROPPED FRAMES 1376 dropped 1.78 dropped/min 000952 Detections=000677/20731 ***** EXCESSIVE DROPPED FRAMES 1438 dropped 1.86 dropped/min 000953 Detections=000007/20731 ***** EXCESSIVE DROPPED FRAMES 1417 dropped 1.84 dropped/min 000954 Detections=000008/20731 ***** EXCESSIVE DROPPED FRAMES 1388 dropped 1.80 dropped/min 000955 Detections=000100/20731 ***** EXCESSIVE DROPPED FRAMES 1841 dropped 2.39 dropped/min 000956 Detections=000020/20731 ***** EXCESSIVE DROPPED FRAMES 1461 dropped 1.89 dropped/min for /f "usebackq tokens=*" ..b in (`dir /b /a-d "E:\cams2_queue\RunFolder\GetStatus_000957_*.txt"`) do ( File: 3.001 Total Detections=395 GetStatus_000957_MC_Meteor_Crater.txt [2020-12-21T11:26:41.567-07:00 2020-12-21T18:26:41.535+00:00 UTC] ) [RETURN status_check.bat:LOOP_LISTFILE] [bat_returncode=0] This script examines all the GetStatus report files in the specified directory and reports on anomolies such as: 1. Cameras with excessive detections [indicates noisy camera/s] 2. Cameras with excessive dropped frames 3. Stations with dangerously low disk space 4. Stations that haven't reported in lately 5. Stations with GetStatus reports that haven't been uploaded in 3 or more days. The detections and dropped frames are determined by reading the GetStatus report and examining each camera in the most recent SubmissionFiles session for that CAMS instance. [status_check.bat:DONE] [0] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ If there are issues reported, examine the GetStatus files that have been downloaded for you in the "E:\cams2_queue\RunFolder" directory. "E:\cams2_queue\RunFolder\status_check_to_html.bat" "E:\cams2_queue\RunFolder" "e:\cams2_queue\status_LOCAMS.html" [status_check_to_html.bat:DONE] [0] ["E:\cams2_queue\RunFolder" "e:\cams2_queue\status_LOCAMS.html"] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The resulting file is: "e:\cams2_queue\status_LOCAMS.html" start "" "e:\cams2_queue\status_LOCAMS.html"