============================================================= Thu 08/06/2020 12:00:08.12 - 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=1454 GetStatus_000900_DC_DiscoveryChannel_.txt [2020-08-06T11:18:34.157-07:00 2020-08-06T18:18:34.110+00:00 UTC] 000900 Detections=000032/1454 ***** EXCESSIVE DROPPED FRAMES 651 dropped 1.21 dropped/min 000902 Detections=000023/1454 ***** EXCESSIVE DROPPED FRAMES 647 dropped 1.20 dropped/min 000903 Detections=000807/1454 ***** EXCESSIVE DROPPED FRAMES 755 dropped 1.40 dropped/min 000904 Detections=000070/1454 ***** EXCESSIVE DROPPED FRAMES 796 dropped 1.48 dropped/min 000905 Detections=000037/1454 ***** EXCESSIVE DROPPED FRAMES 858 dropped 1.59 dropped/min 000906 Detections=000029/1454 ***** EXCESSIVE DROPPED FRAMES 2419 dropped 4.49 dropped/min 000907 Detections=000032/1454 ***** EXCESSIVE DROPPED FRAMES 1007 dropped 1.87 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=3247 GetStatus_000916_MH_MarsHill_.txt [2020-08-06T11:24:00.170-07:00 2020-08-06T18:24:00.124+00:00 UTC] 000931 Detections=002804/3247 WARNING - CHECK 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=97385 GetStatus_000941_ER_Prescott.txt [2020-08-06T09:40:14.673-07:00 2020-08-06T16:40:14.626+00:00 UTC] 000941 Detections=000034/97385 ***** EXCESSIVE DROPPED FRAMES 537 dropped 1.00 dropped/min 000942 Detections=017211/97385 CRITICAL - FIX CAMERA NOISE AND CHECK DISK SPACE ***** EXCESSIVE DROPPED FRAMES 38894 dropped 72.21 dropped/min 000943 Detections=003765/97385 WARNING - CHECK CAMERA NOISE ***** EXCESSIVE DROPPED FRAMES 13918 dropped 25.84 dropped/min 000944 Detections=051486/97385 CRITICAL - FIX CAMERA NOISE AND CHECK DISK SPACE ***** EXCESSIVE DROPPED FRAMES 5794 dropped 10.76 dropped/min 000945 Detections=000800/97385 ***** EXCESSIVE DROPPED FRAMES 617 dropped 1.15 dropped/min 000946 Detections=000032/97385 ***** EXCESSIVE DROPPED FRAMES 551 dropped 1.02 dropped/min 000947 Detections=020954/97385 CRITICAL - FIX CAMERA NOISE AND CHECK DISK SPACE ***** EXCESSIVE DROPPED FRAMES 55109 dropped 102.31 dropped/min 000949 Detections=000051/97385 ***** EXCESSIVE DROPPED FRAMES 694 dropped 1.29 dropped/min 000951 Detections=000047/97385 ***** EXCESSIVE DROPPED FRAMES 1587 dropped 2.95 dropped/min 000952 Detections=001814/97385 WARNING - CHECK CAMERA NOISE 000953 Detections=000044/97385 ***** EXCESSIVE DROPPED FRAMES 953 dropped 1.77 dropped/min 000954 Detections=000058/97385 ***** EXCESSIVE DROPPED FRAMES 588 dropped 1.09 dropped/min 000955 Detections=000762/97385 ***** EXCESSIVE DROPPED FRAMES 681 dropped 1.26 dropped/min 000941 Detections=000034/97385 ***** EXCESSIVE DROPPED FRAMES 537 dropped 1.00 dropped/min 000942 Detections=017211/97385 CRITICAL - FIX CAMERA NOISE AND CHECK DISK SPACE ***** EXCESSIVE DROPPED FRAMES 38894 dropped 72.21 dropped/min 000943 Detections=003765/97385 WARNING - CHECK CAMERA NOISE ***** EXCESSIVE DROPPED FRAMES 13918 dropped 25.84 dropped/min 000944 Detections=051486/97385 CRITICAL - FIX CAMERA NOISE AND CHECK DISK SPACE ***** EXCESSIVE DROPPED FRAMES 5794 dropped 10.76 dropped/min 000945 Detections=000800/97385 ***** EXCESSIVE DROPPED FRAMES 617 dropped 1.15 dropped/min 000946 Detections=000032/97385 ***** EXCESSIVE DROPPED FRAMES 551 dropped 1.02 dropped/min 000947 Detections=020954/97385 CRITICAL - FIX CAMERA NOISE AND CHECK DISK SPACE ***** EXCESSIVE DROPPED FRAMES 55109 dropped 102.31 dropped/min 000949 Detections=000051/97385 ***** EXCESSIVE DROPPED FRAMES 694 dropped 1.29 dropped/min 000951 Detections=000047/97385 ***** EXCESSIVE DROPPED FRAMES 1587 dropped 2.95 dropped/min 000952 Detections=001814/97385 WARNING - CHECK CAMERA NOISE 000953 Detections=000044/97385 ***** EXCESSIVE DROPPED FRAMES 953 dropped 1.77 dropped/min 000954 Detections=000058/97385 ***** EXCESSIVE DROPPED FRAMES 588 dropped 1.09 dropped/min 000955 Detections=000762/97385 ***** EXCESSIVE DROPPED FRAMES 681 dropped 1.26 dropped/min Total Detections=97385 f: CAMS Archive free space 82.470 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 ( File: 3.001 Total Detections=412 GetStatus_000957_MC_Meteor_Crater.txt [2020-08-06T08:52:54.840-07:00 2020-08-06T15:52:54.809+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"