============================================================= Sun 06/28/2020 12:00:08.04 - 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=9075 GetStatus_000900_DC_DiscoveryChannel_.txt [2020-06-28T11:18:42.590-07:00 2020-06-28T18:18:42.544+00:00 UTC] 000900 Detections=000014/9075 ***** EXCESSIVE DROPPED FRAMES 708 dropped 1.45 dropped/min 000901 Detections=000022/9075 ***** EXCESSIVE DROPPED FRAMES 13046 dropped 26.74 dropped/min 000902 Detections=000030/9075 ***** EXCESSIVE DROPPED FRAMES 1610 dropped 3.30 dropped/min 000903 Detections=000073/9075 ***** EXCESSIVE DROPPED FRAMES 1225 dropped 2.51 dropped/min 000904 Detections=000024/9075 ***** EXCESSIVE DROPPED FRAMES 1163 dropped 2.38 dropped/min 000905 Detections=000013/9075 ***** EXCESSIVE DROPPED FRAMES 1202 dropped 2.46 dropped/min 000906 Detections=000021/9075 ***** EXCESSIVE DROPPED FRAMES 1432 dropped 2.94 dropped/min 000907 Detections=000021/9075 ***** EXCESSIVE DROPPED FRAMES 1452 dropped 2.98 dropped/min 000908 Detections=003335/9075 WARNING - CHECK CAMERA NOISE ***** EXCESSIVE DROPPED FRAMES 902 dropped 1.84 dropped/min 000911 Detections=000020/9075 ***** EXCESSIVE DROPPED FRAMES 526 dropped 1.07 dropped/min 000912 Detections=000028/9075 ***** EXCESSIVE DROPPED FRAMES 531 dropped 1.08 dropped/min 000913 Detections=005404/9075 WATCH - FIX CAMERA NOISE ***** EXCESSIVE DROPPED FRAMES 1062 dropped 2.16 dropped/min 000914 Detections=000022/9075 ***** EXCESSIVE DROPPED FRAMES 670 dropped 1.37 dropped/min 000915 Detections=000016/9075 ***** EXCESSIVE DROPPED FRAMES 659 dropped 1.34 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=5326 GetStatus_000916_MH_MarsHill_.txt [2020-06-28T11:23:53.346-07:00 2020-06-28T18:23:53.299+00:00 UTC] 000931 Detections=005167/5326 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=449 GetStatus_000941_ER_Prescott.txt [2020-06-15T09:36:16.296-07:00 2020-06-15T16:36:16.233+00:00 UTC] 000955 Detections=000093/449 ***** EXCESSIVE DROPPED FRAMES 603 dropped 1.24 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=202 GetStatus_000957_MC_Meteor_Crater.txt [2020-06-28T09:08:20.166-07:00 2020-06-28T16:08:20.119+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"