============================================================= Thu 05/28/2020 12:00:08.32 - 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=5454 GetStatus_000900_DC_DiscoveryChannel_.txt [2020-05-28T11:18:24.964-07:00 2020-05-28T18:18:24.918+00:00 UTC] 000902 Detections=000024/5454 ***** EXCESSIVE DROPPED FRAMES 6987 dropped 13.91 dropped/min 000906 Detections=000023/5454 ***** EXCESSIVE DROPPED FRAMES 7411 dropped 14.76 dropped/min 000908 Detections=001905/5454 WARNING - CHECK CAMERA NOISE ***** EXCESSIVE DROPPED FRAMES 3321 dropped 6.58 dropped/min 000909 Detections=000019/5454 ***** EXCESSIVE DROPPED FRAMES 1264 dropped 2.50 dropped/min 000910 Detections=000010/5454 ***** EXCESSIVE DROPPED FRAMES 1637 dropped 3.24 dropped/min 000911 Detections=000014/5454 ***** EXCESSIVE DROPPED FRAMES 1671 dropped 3.31 dropped/min 000912 Detections=000017/5454 ***** EXCESSIVE DROPPED FRAMES 1936 dropped 3.83 dropped/min 000913 Detections=003288/5454 WARNING - CHECK CAMERA NOISE ***** EXCESSIVE DROPPED FRAMES 5183 dropped 10.26 dropped/min 000914 Detections=000010/5454 ***** EXCESSIVE DROPPED FRAMES 2236 dropped 4.43 dropped/min 000915 Detections=000015/5454 ***** EXCESSIVE DROPPED FRAMES 2294 dropped 4.54 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=2778 GetStatus_000916_MH_MarsHill_.txt [2020-05-28T11:23:54.370-07:00 2020-05-28T18:23:54.323+00:00 UTC] 000931 Detections=002619/2778 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=330 GetStatus_000941_ER_Prescott.txt [2020-05-28T09:36:08.420-07:00 2020-05-28T16:36:08.373+00:00 UTC] 000950 Detections=000010/330 ***** EXCESSIVE DROPPED FRAMES 545 dropped 1.08 dropped/min 000952 Detections=000125/330 ***** EXCESSIVE DROPPED FRAMES 523 dropped 1.04 dropped/min 000953 Detections=000005/330 ***** EXCESSIVE DROPPED FRAMES 516 dropped 1.03 dropped/min 000955 Detections=000137/330 ***** EXCESSIVE DROPPED FRAMES 585 dropped 1.16 dropped/min 000956 Detections=000048/330 ***** EXCESSIVE DROPPED FRAMES 542 dropped 1.08 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=962 GetStatus_000957_MC_Meteor_Crater.txt [2020-05-28T08:33:31.210-07:00 2020-05-28T15:33:31.179+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"