============================================================= Fri 02/26/2021 12:00:08.23 - 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=2529 GetStatus_000900_DC_DiscoveryChannel_.txt [2021-02-25T11:19:32.761-07:00 2021-02-25T18:19:32.730+00:00 UTC] 000900 Detections=000055/2529 ***** EXCESSIVE DROPPED FRAMES 12463 dropped 18.03 dropped/min 000901 Detections=000186/2529 ***** EXCESSIVE DROPPED FRAMES 12427 dropped 17.98 dropped/min 000902 Detections=000446/2529 ***** EXCESSIVE DROPPED FRAMES 24547 dropped 35.51 dropped/min 000903 Detections=000196/2529 ***** EXCESSIVE DROPPED FRAMES 45287 dropped 65.51 dropped/min 000904 Detections=000287/2529 ***** EXCESSIVE DROPPED FRAMES 18192 dropped 26.32 dropped/min 000905 Detections=000112/2529 ***** EXCESSIVE DROPPED FRAMES 19461 dropped 28.15 dropped/min 000906 Detections=000084/2529 ***** EXCESSIVE DROPPED FRAMES 21492 dropped 31.09 dropped/min 000907 Detections=000043/2529 ***** EXCESSIVE DROPPED FRAMES 22313 dropped 32.28 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=1320 GetStatus_000916_MH_MarsHill_.txt [2021-02-26T11:10:52.571-07:00 2021-02-26T18:10:52.540+00:00 UTC] for /f "usebackq tokens=*" ..b in (`dir /b /a-d "E:\cams2_queue\RunFolder\GetStatus_000941_*.txt"`) do ( 2021_02_26_000941_01_57_53 000943 000000 25.5 x 34.3 3.109 (arcmin/pix) "CAL file in detect file [] not found in: "e:\Cams2_Board0\CAMS\SubmissionFiles\2021_02_26_000941_01_57_53\FTP"" Station: ######### CAMS STATUS FOR STATION: "000941_ER_Prescott" ################################## File: 3.001 Total Detections=28047 GetStatus_000941_ER_Prescott.txt [2021-02-26T11:49:15.022-07:00 2021-02-26T18:49:14.975+00:00 UTC] 000943 "CAL file in detect file [] not found in: "e:\Cams2_Board0\CAMS\SubmissionFiles\2021_02_26_000941_01_57_53\FTP"" 000944 Detections=010149/28047 CRITICAL - FIX CAMERA NOISE AND CHECK DISK SPACE 000945 Detections=015658/28047 CRITICAL - FIX CAMERA NOISE AND CHECK DISK SPACE 000949 Detections=000011/28047 ***** EXCESSIVE DROPPED FRAMES 5713 dropped 8.29 dropped/min 000951 Detections=000014/28047 ***** EXCESSIVE DROPPED FRAMES 942 dropped 1.37 dropped/min 000955 Detections=001090/28047 WARNING - CHECK CAMERA NOISE 2021_02_26_000941_01_57_53 000943 000000 25.5 x 34.3 3.109 (arcmin/pix) "CAL file in detect file [] not found in: "e:\Cams2_Board0\CAMS\SubmissionFiles\2021_02_26_000941_01_57_53\FTP"" 000943 "CAL file in detect file [] not found in: "e:\Cams2_Board0\CAMS\SubmissionFiles\2021_02_26_000941_01_57_53\FTP"" 000944 Detections=010149/28047 CRITICAL - FIX CAMERA NOISE AND CHECK DISK SPACE 000945 Detections=015658/28047 CRITICAL - FIX CAMERA NOISE AND CHECK DISK SPACE 000949 Detections=000011/28047 ***** EXCESSIVE DROPPED FRAMES 5713 dropped 8.29 dropped/min 000951 Detections=000014/28047 ***** EXCESSIVE DROPPED FRAMES 942 dropped 1.37 dropped/min 000955 Detections=001090/28047 WARNING - CHECK CAMERA NOISE Total Detections=28047 f: CAMS Archive free space 32.827 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=402 GetStatus_000957_MC_Meteor_Crater.txt [2021-02-26T11:33:19.844-07:00 2021-02-26T18:33:19.813+00:00 UTC] 000972 Detections=000086/402 ***** EXCESSIVE DROPPED FRAMES 3853 dropped 5.57 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"