============================================================= Sun 09/27/2020 12:00:08.25 - 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 ( File: 3.001 Total Detections=513 GetStatus_000900_DC_DiscoveryChannel_.txt [2020-09-27T11:19:13.450-07:00 2020-09-27T18:19:13.403+00:00 UTC] 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=7041 GetStatus_000916_MH_MarsHill_.txt [2020-09-27T11:24:55.788-07:00 2020-09-27T18:24:55.741+00:00 UTC] 000918 Detections=000031/7041 ***** EXCESSIVE DROPPED FRAMES 683 dropped 1.05 dropped/min 000919 Detections=000041/7041 ***** EXCESSIVE DROPPED FRAMES 753 dropped 1.16 dropped/min 000920 Detections=000020/7041 ***** EXCESSIVE DROPPED FRAMES 820 dropped 1.26 dropped/min 000921 Detections=000024/7041 ***** EXCESSIVE DROPPED FRAMES 2623 dropped 4.03 dropped/min 000922 Detections=000029/7041 ***** EXCESSIVE DROPPED FRAMES 935 dropped 1.44 dropped/min 000923 Detections=000012/7041 ***** EXCESSIVE DROPPED FRAMES 905 dropped 1.39 dropped/min 000931 Detections=006687/7041 WATCH - FIX CAMERA NOISE for /f "usebackq tokens=*" ..b in (`dir /b /a-d "E:\cams2_queue\RunFolder\GetStatus_000941_*.txt"`) do ( 2020_09_27_000941_01_54_58 000942 "ERROR: NO VIDEO SIGNAL 2020_09_27_000941_01_54_58" Station: ######### CAMS STATUS FOR STATION: "000941_ER_Prescott" ################################## File: 3.001 Total Detections=1636 GetStatus_000941_ER_Prescott.txt [2020-09-27T09:40:28.549-07:00 2020-09-27T16:40:28.507+00:00 UTC] 000942 "ERROR: NO VIDEO SIGNAL 2020_09_27_000941_01_54_58" 000947 Detections=000024/1636 ***** EXCESSIVE DROPPED FRAMES 6272 dropped 9.64 dropped/min 000949 Detections=000062/1636 ***** EXCESSIVE DROPPED FRAMES 142786 dropped 219.55 dropped/min 000951 Detections=000018/1636 ***** EXCESSIVE DROPPED FRAMES 5629 dropped 8.66 dropped/min 2020_09_27_000941_01_54_58 000942 "ERROR: NO VIDEO SIGNAL 2020_09_27_000941_01_54_58" 000942 "ERROR: NO VIDEO SIGNAL 2020_09_27_000941_01_54_58" 000947 Detections=000024/1636 ***** EXCESSIVE DROPPED FRAMES 6272 dropped 9.64 dropped/min 000949 Detections=000062/1636 ***** EXCESSIVE DROPPED FRAMES 142786 dropped 219.55 dropped/min 000951 Detections=000018/1636 ***** EXCESSIVE DROPPED FRAMES 5629 dropped 8.66 dropped/min Total Detections=1636 f: CAMS Archive free space 0.004 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=0 *** GetStatus_000957_MC_Meteor_Crater.txt [2020-09-27T09:57:25.250-07:00 2020-09-27T16:57:25.203+00:00 UTC] 000972 Detections=000089/0 *** ***** EXCESSIVE DROPPED FRAMES 3021 dropped 4.63 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"