============================================================= Tue 06/02/2020 12:00:08.44 - 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=25351 GetStatus_000900_DC_DiscoveryChannel_.txt [2020-06-02T11:18:17.866-07:00 2020-06-02T18:18:17.835+00:00 UTC] 000908 Detections=013112/25351 CRITICAL - FIX CAMERA NOISE AND CHECK DISK SPACE ***** EXCESSIVE DROPPED FRAMES 4355 dropped 8.72 dropped/min 000909 Detections=000011/25351 ***** EXCESSIVE DROPPED FRAMES 1867 dropped 3.74 dropped/min 000910 Detections=000006/25351 ***** EXCESSIVE DROPPED FRAMES 2240 dropped 4.49 dropped/min 000911 Detections=000002/25351 ***** EXCESSIVE DROPPED FRAMES 2550 dropped 5.11 dropped/min 000912 Detections=000029/25351 ***** EXCESSIVE DROPPED FRAMES 2712 dropped 5.43 dropped/min 000913 Detections=011616/25351 CRITICAL - FIX CAMERA NOISE AND CHECK DISK SPACE ***** EXCESSIVE DROPPED FRAMES 4552 dropped 9.12 dropped/min 000914 Detections=000031/25351 ***** EXCESSIVE DROPPED FRAMES 3041 dropped 6.09 dropped/min 000915 Detections=000008/25351 ***** EXCESSIVE DROPPED FRAMES 3160 dropped 6.33 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=2280 GetStatus_000916_MH_MarsHill_.txt [2020-06-02T11:23:15.647-07:00 2020-06-02T18:23:15.616+00:00 UTC] 000916 Detections=000016/2280 ***** EXCESSIVE DROPPED FRAMES 3161 dropped 6.41 dropped/min 000917 Detections=000011/2280 ***** EXCESSIVE DROPPED FRAMES 3070 dropped 6.22 dropped/min 000918 Detections=000025/2280 ***** EXCESSIVE DROPPED FRAMES 3995 dropped 8.10 dropped/min 000919 Detections=000011/2280 ***** EXCESSIVE DROPPED FRAMES 4207 dropped 8.53 dropped/min 000920 Detections=000005/2280 ***** EXCESSIVE DROPPED FRAMES 4593 dropped 9.31 dropped/min 000921 Detections=000048/2280 ***** EXCESSIVE DROPPED FRAMES 15098 dropped 30.60 dropped/min 000922 Detections=000004/2280 ***** EXCESSIVE DROPPED FRAMES 5351 dropped 10.84 dropped/min 000923 Detections=000001/2280 ***** EXCESSIVE DROPPED FRAMES 5574 dropped 11.30 dropped/min 000931 Detections=002084/2280 WARNING - CHECK CAMERA NOISE for /f "usebackq tokens=*" ..b in (`dir /b /a-d "E:\cams2_queue\RunFolder\GetStatus_000941_*.txt"`) do ( 2020_06_02_000949_03_18_47 000953 000000 25.3 x 30.6 2.796 (arcmin/pix) "CAL file in detect file [] not found in: "e:\Cams2_Board1\CAMS\SubmissionFiles\2020_06_02_000949_03_18_47\FTP"" Station: ######### CAMS STATUS FOR STATION: "000941_ER_Prescott" ################################## File: 3.001 Total Detections=98 GetStatus_000941_ER_Prescott.txt [2020-06-02T09:36:32.629-07:00 2020-06-02T16:36:32.582+00:00 UTC] 000953 "CAL file in detect file [] not found in: "e:\Cams2_Board1\CAMS\SubmissionFiles\2020_06_02_000949_03_18_47\FTP"" for /f "usebackq tokens=*" ..b in (`dir /b /a-d "E:\cams2_queue\RunFolder\GetStatus_000957_*.txt"`) do ( File: 3.001 Total Detections=172 GetStatus_000957_MC_Meteor_Crater.txt [2020-06-02T08:22:40.911-07:00 2020-06-02T15:22:40.879+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"