============================================================= Sat 01/02/2021 12:00:03.71 - 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=569 GetStatus_000900_DC_DiscoveryChannel_.txt [2021-01-02T11:45:28.327-07:00 2021-01-02T18:45:28.280+00:00 UTC] 000900 Detections=000026/569 ***** EXCESSIVE DROPPED FRAMES 2427 dropped 3.16 dropped/min 000901 Detections=000047/569 ***** EXCESSIVE DROPPED FRAMES 2242 dropped 2.92 dropped/min 000902 Detections=000035/569 ***** EXCESSIVE DROPPED FRAMES 3064 dropped 3.98 dropped/min 000903 Detections=000022/569 ***** EXCESSIVE DROPPED FRAMES 10153 dropped 13.20 dropped/min 000904 Detections=000052/569 ***** EXCESSIVE DROPPED FRAMES 3544 dropped 4.61 dropped/min 000905 Detections=000029/569 ***** EXCESSIVE DROPPED FRAMES 3771 dropped 4.90 dropped/min 000906 Detections=000049/569 ***** EXCESSIVE DROPPED FRAMES 4077 dropped 5.30 dropped/min 000907 Detections=000039/569 ***** EXCESSIVE DROPPED FRAMES 4140 dropped 5.38 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=696 GetStatus_000916_MH_MarsHill_.txt [2021-01-02T11:52:50.138-07:00 2021-01-02T18:52:50.107+00:00 UTC] for /f "usebackq tokens=*" ..b in (`dir /b /a-d "E:\cams2_queue\RunFolder\GetStatus_000941_*.txt"`) do ( 2021_01_01_000941_01_08_18 000943 000000 25.7 x 34.4 3.105 (arcmin/pix) "CAL file in detect file [] not found in: "e:\Cams2_Board0\CAMS\SubmissionFiles\2021_01_01_000941_01_08_18\FTP"" Station: ######### CAMS STATUS FOR STATION: "000941_ER_Prescott" ################################## File: 3.001 Total Detections=37941 GetStatus_000941_ER_Prescott.txt [2021-01-02T10:02:39.136-07:00 2021-01-02T17:02:39.090+00:00 UTC] 000943 "CAL file in detect file [] not found in: "e:\Cams2_Board0\CAMS\SubmissionFiles\2021_01_01_000941_01_08_18\FTP"" 000944 Detections=014748/37941 CRITICAL - FIX CAMERA NOISE AND CHECK DISK SPACE 000945 Detections=022629/37941 CRITICAL - FIX CAMERA NOISE AND CHECK DISK SPACE 000949 Detections=000011/37941 ***** EXCESSIVE DROPPED FRAMES 69013 dropped 89.76 dropped/min 000949 Detections=000026/37941 ***** EXCESSIVE DROPPED FRAMES 297564 dropped 387.28 dropped/min 000952 Detections=000308/37941 ***** EXCESSIVE DROPPED FRAMES 771 dropped 1.00 dropped/min 000955 Detections=000164/37941 ***** EXCESSIVE DROPPED FRAMES 1064 dropped 1.38 dropped/min 000956 Detections=000011/37941 ***** EXCESSIVE DROPPED FRAMES 808 dropped 1.05 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=1136 GetStatus_000957_MC_Meteor_Crater.txt [2021-01-02T11:19:13.637-07:00 2021-01-02T18:19:13.605+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"