============================================================= Wed 08/26/2020 12:00:03.73 - 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=3200 GetStatus_000900_DC_DiscoveryChannel_.txt [2020-08-25T11:18:04.054-07:00 2020-08-25T18:18:04.007+00:00 UTC] 000903 Detections=002907/3200 WARNING - CHECK CAMERA NOISE 000906 Detections=000022/3200 ***** EXCESSIVE DROPPED FRAMES 2598 dropped 4.50 dropped/min for /f "usebackq tokens=*" ..b in (`dir /b /a-d "E:\cams2_queue\RunFolder\GetStatus_000916_*.txt"`) do ( Station: ######### CAMS STATUS FOR STATION: "000916_MH_MarsHill_" ################################# File: 3.001 Total Detections=9260 GetStatus_000916_MH_MarsHill_.txt [2020-08-26T11:31:02.549-07:00 2020-08-26T18:31:02.518+00:00 UTC] 000931 Detections=009081/9260 WATCH - FIX CAMERA NOISE 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=1775 GetStatus_000941_ER_Prescott.txt [2020-08-26T09:40:04.498-07:00 2020-08-26T16:40:04.451+00:00 UTC] 000942 Detections=000006/1775 ***** EXCESSIVE DROPPED FRAMES 4457 dropped 7.68 dropped/min 000947 Detections=000022/1775 ***** EXCESSIVE DROPPED FRAMES 2335 dropped 4.03 dropped/min 000952 Detections=001439/1775 WARNING - CHECK CAMERA NOISE 000942 Detections=000006/1775 ***** EXCESSIVE DROPPED FRAMES 4457 dropped 7.68 dropped/min 000947 Detections=000022/1775 ***** EXCESSIVE DROPPED FRAMES 2335 dropped 4.03 dropped/min 000952 Detections=001439/1775 WARNING - CHECK CAMERA NOISE Total Detections=1775 f: CAMS Archive free space 0.287 GiB {B}**** DISK SPACE LOW ***{/B} GetStatus_000941_ER_Prescott.txt for /f "usebackq tokens=*" ..b in (`dir /b /a-d "E:\cams2_queue\RunFolder\GetStatus_000957_*.txt"`) do ( Station: ######### CAMS STATUS FOR STATION: "000957_MC_Meteor_Crater" ############################# File: 3.001 Total Detections=171 GetStatus_000957_MC_Meteor_Crater.txt [2020-08-26T09:38:28.112-07:00 2020-08-26T16:38:28.065+00:00 UTC] 000957 Detections=000001/171 ***** EXCESSIVE DROPPED FRAMES 2118 dropped 3.66 dropped/min 000958 Detections=000009/171 ***** EXCESSIVE DROPPED FRAMES 2067 dropped 3.57 dropped/min 000959 Detections=000010/171 ***** EXCESSIVE DROPPED FRAMES 2293 dropped 3.96 dropped/min 000960 Detections=000011/171 ***** EXCESSIVE DROPPED FRAMES 2101 dropped 3.63 dropped/min 000961 Detections=000008/171 ***** EXCESSIVE DROPPED FRAMES 2368 dropped 4.09 dropped/min 000962 Detections=000007/171 ***** EXCESSIVE DROPPED FRAMES 2320 dropped 4.01 dropped/min 000963 Detections=000017/171 ***** EXCESSIVE DROPPED FRAMES 2171 dropped 3.75 dropped/min 000964 Detections=000013/171 ***** EXCESSIVE DROPPED FRAMES 2167 dropped 3.74 dropped/min 000972 Detections=000014/171 ***** EXCESSIVE DROPPED FRAMES 3003 dropped 5.17 dropped/min ) [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"