============================================================= Thu 12/24/2020 12:00:08.26 - 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 ( Station: ######### CAMS STATUS FOR STATION: "000900_DC_DiscoveryChannel_" ######################### File: 3.001 Total Detections=825 GetStatus_000900_DC_DiscoveryChannel_.txt [2020-12-24T10:12:11.733-07:00 2020-12-24T17:12:11.701+00:00 UTC] 000900 Detections=000052/825 ***** EXCESSIVE DROPPED FRAMES 1211 dropped 1.57 dropped/min 000901 Detections=000054/825 ***** EXCESSIVE DROPPED FRAMES 1207 dropped 1.56 dropped/min 000902 Detections=000030/825 ***** EXCESSIVE DROPPED FRAMES 1540 dropped 1.99 dropped/min 000903 Detections=000111/825 ***** EXCESSIVE DROPPED FRAMES 5508 dropped 7.13 dropped/min 000904 Detections=000049/825 ***** EXCESSIVE DROPPED FRAMES 1735 dropped 2.25 dropped/min 000905 Detections=000050/825 ***** EXCESSIVE DROPPED FRAMES 1919 dropped 2.49 dropped/min 000906 Detections=000055/825 ***** EXCESSIVE DROPPED FRAMES 2196 dropped 2.84 dropped/min 000907 Detections=000043/825 ***** EXCESSIVE DROPPED FRAMES 2193 dropped 2.84 dropped/min for /f "usebackq tokens=*" ..b in (`dir /b /a-d "E:\cams2_queue\RunFolder\GetStatus_000916_*.txt"`) do ( File: 3.001 Total Detections=882 GetStatus_000916_MH_MarsHill_.txt [2020-12-24T10:55:27.515-07:00 2020-12-24T17:55:27.343+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=13773 GetStatus_000941_ER_Prescott.txt [2020-12-24T09:42:05.312-07:00 2020-12-24T16:42:05.265+00:00 UTC] 000944 Detections=004257/13773 WARNING - CHECK CAMERA NOISE 000945 Detections=008649/13773 WATCH - FIX CAMERA NOISE 000949 Detections=000018/13773 ***** EXCESSIVE DROPPED FRAMES 146768 dropped 190.27 dropped/min 000950 Detections=000004/13773 ***** EXCESSIVE DROPPED FRAMES 789 dropped 1.02 dropped/min 000952 Detections=000492/13773 ***** EXCESSIVE DROPPED FRAMES 802 dropped 1.04 dropped/min 000953 Detections=000014/13773 ***** EXCESSIVE DROPPED FRAMES 797 dropped 1.03 dropped/min 000955 Detections=000061/13773 ***** EXCESSIVE DROPPED FRAMES 1224 dropped 1.59 dropped/min 000956 Detections=000011/13773 ***** EXCESSIVE DROPPED FRAMES 840 dropped 1.09 dropped/min 000949 Detections=000099/13773 ***** EXCESSIVE DROPPED FRAMES 268623 dropped 348.28 dropped/min 000955 Detections=000191/13773 ***** EXCESSIVE DROPPED FRAMES 1000 dropped 1.30 dropped/min 000956 Detections=000043/13773 ***** EXCESSIVE DROPPED FRAMES 798 dropped 1.03 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=719 GetStatus_000957_MC_Meteor_Crater.txt [2020-12-24T11:18:33.893-07:00 2020-12-24T18:18:33.862+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"