Date
1 - 1 of 1
WD installation and bash aliases which ease control and monitoring of WD
Rob Robinett
Hi John , Great to hear that installation went well, although I would not expect you to have needed to run "sudo apt install libfftw3-3". I have included in WD a file with many bash aliases that makes it easier to control and monitor your WD installation. To use them: pi@AI6VN-DemoRx-Pi4:~/wsprdaemon $ source ~/wsprdaemon/.wd_bash_aliases To have those aliases after every Linux boot: pi@AI6VN-DemoRx-Pi4:~/wsprdaemon $ wd-rci .wd_bash_aliases has been added to ~/.bash_aliases pi@AI6VN-DemoRx-Pi4:~/wsprdaemon $ To get a list of some of the most useful aliases execute 'wd-' (note there is no space between 'wd' and the '-h': pi@AI6VN-DemoRx-Pi4:~/wsprdaemon $ wd-h Programs which print information about Wsprdaemon (WD) system: Command Can also be executed by Description wd-help wd-h wd- Prints this help message wd-start wd-a wda Start or keep running WD wd-stop wd-z wdz Stop WD if it is running wd-status wd-s wds Show the status of a running WD wd-upload-wn wd-un wdln Watch the 'upload to wsprnet' log wd-upload-wd wd-uw wdlw Watch the 'upload to wsprdaemon' log wd-errors wd-e wdle Each 10 seconds, search all the log files and print newly logged 'ERROR' lines wd-overloads wd-ov wdov Prints all overload events recorded in the wav and ADC log files wd-query wd-q wdq Query the wsprdaemon database for spots pi@AI6VN-DemoRx-Pi4:~/wsprdaemon $ One most useful alias is 'wdln' which shows you the operations of the upload to wsprnet.org daemon: wsprdaemon@AI6VN-KH6-TC:~$ wdln Sat 25 Mar 2023 15:20:35 UTC: proxy_connection_manager() ALERT: There is an active proxy connection to wd0.wsprdaemon.org where its port 35803 is open to this server To view the full log file execute the command: 'less /home/wsprdaemon/wsprdaemon/uploads.d/wsprnet.d/spots.d/upload_to_wsprnet_daemon.log' Running 'tail -F /home/wsprdaemon/wsprdaemon/uploads.d/wsprnet.d/spots.d/upload_to_wsprnet_daemon.log': 230325 1516 0.20 -27 0.24 14.0970512 K5XL EM12 33 0 2 230325 1516 0.22 -25 0.24 14.0971025 N7IHQ CN93 10 0 2 230325 1516 0.41 -19 -0.02 14.0971600 N0AMY DM78 40 0 2 Sat 25 Mar 2023 15:18:35 UTC: upload_to_wsprnet_daemon() Flushing the 4 spot files containing 16 spots now that they have been uploaded: AI6VN=KH6_BL10rx/MERG_5_6/80/230325_1516_spots.txt AI6VN=KH6_BL10rx/maui76/20/230325_1516_spots.txt AI6VN=KH6_BL10rx/maui76/40/230325_1516_spots.txt AI6VN=KH6_BL10rx/maui76/30/230325_1516_spots.txt Sat 25 Mar 2023 15:18:35 UTC: upload_to_wsprnet_daemon() Waiting 95 seconds until cycle offset 10 when we will start to look for spot files and for all decodes to finish Sat 25 Mar 2023 15:20:11 UTC: upload_to_wsprnet_daemon() Waiting for there to be some spot files, for the number of spot files to stablize, and for there to be no running 'wsprd' or 'jt9 jobs Sat 25 Mar 2023 15:20:11 UTC: upload_to_wsprnet_daemon() Not ready to start uploads because there are no spot files Sat 25 Mar 2023 15:20:21 UTC: upload_to_wsprnet_daemon() Not ready to start uploads because there are now 2 spot files, more than the 0 spot files we previously found Sat 25 Mar 2023 15:20:31 UTC: upload_to_wsprnet_daemon() Not ready to start uploads because there are now 3 spot files, more than the 2 spot files we previously found Sat 25 Mar 2023 15:20:41 UTC: upload_to_wsprnet_daemon() Not ready to start uploads because there are now 4 spot files, more than the 3 spot files we previously found Sat 25 Mar 2023 15:20:52 UTC: upload_to_wsprnet_daemon() There are 4 spot files ready for upload and 'ps' didn't find any jobs which might create more. Here are the top 10 jobs currently running on the system: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 4168 wsprdae+ 5 -15 272060 15972 14076 S 6.2 0.4 320:06.57 python3+ 4332 wsprdae+ 5 -15 272060 15800 13924 S 6.2 0.4 292:10.24 python3+ 5255 wsprdae+ 5 -15 272060 16016 14104 S 6.2 0.4 292:50.36 python3+ 5477 wsprdae+ 5 -15 272060 15748 13804 S 6.2 0.4 296:46.54 python3+ 5727 wsprdae+ 20 0 15348 4056 1888 S 6.2 0.1 19:06.49 /bin/ba+ 6058 wsprdae+ 5 -15 272060 16072 14164 S 6.2 0.4 306:12.96 python3+ 6283 wsprdae+ 5 -15 272060 15860 13968 S 6.2 0.4 299:47.17 python3+ 307795 wsprdae+ 20 0 15508 4928 2256 S 6.2 0.1 65:31.91 /bin/ba+ 3757876 wsprdae+ 20 0 12148 3956 3240 R 6.2 0.1 0:00.02 top -b + Sat 25 Mar 2023 15:20:52 UTC: upload_to_wsprnet_daemon() Checking for CALL/GRID directories Sat 25 Mar 2023 15:20:52 UTC: upload_wsprnet_create_spot_file_list_file() Creating a list of spot files for CALL_GRID from the 4 spot files from 1 WSPR cycles Sat 25 Mar 2023 15:20:52 UTC: upload_wsprnet_create_spot_file_list_file() Checking for number of spots in '230325' in the list of 4 files passed to us Sat 25 Mar 2023 15:20:52 UTC: upload_wsprnet_create_spot_file_list_file() Adding the 18 spots in cycle 230325 will increase upload to 18 spot which is less than the max 999 spots for an MEPT upload Sat 25 Mar 2023 15:20:52 UTC: upload_wsprnet_create_spot_file_list_file() Found that all of the 18 spots in the current spot files can be uploaded Sat 25 Mar 2023 15:20:52 UTC: upload_to_wsprnet_daemon() Uploading spots from 4 files Sat 25 Mar 2023 15:20:52 UTC: upload_to_wsprnet_daemon() Uploading AI6VN/KH6 at BL10rx spots file /dev/shm/wsprdaemon/uploads.d/wsprnet.d/spots.txt with 18 spots in it Sat 25 Mar 2023 15:20:55 UTC: upload_to_wsprnet_daemon() wsprnet reported 18 of the 18 offered spots were added Sat 25 Mar 2023 15:20:55 UTC: upload_to_wsprnet_daemon() Successful curl upload has completed. 18 of these offered 18 spots were accepted by wsprnet.org: 230325 1518 0.14 -30 0.11 3.5700983 VK7ZAB QE38 33 0 2 230325 1518 0.33 -15 0.19 7.0400289 AA0JR DM33 23 1 2 230325 1518 0.19 -16 0.19 7.0401295 VK3CYD QF31 23 1 2 230325 1518 0.24 -23 3.78 7.0401611 R0CDO PN78 23 0 2 230325 1518 0.42 -4 0.41 10.1401016 VE7AV CO83 23 0 2 230325 1518 0.17 -21 0.37 10.1401149 KA8JMW DM65 23 0 2 230325 1518 0.30 -11 0.32 10.1401450 KI7N CN85 23 1 2 230325 1518 0.46 -4 0.24 10.1401805 KJ7DGE CN85 27 0 2 230325 1518 0.28 -15 0.62 10.1401892 KD7JL DN13 23 0 2 230325 1518 0.26 -7 -0.57 10.1401989 WI6P CN87 37 -2 2 230325 1518 0.36 -19 0.32 10.1402551 KC0RF DM79 23 0 2 230325 1518 0.43 -14 0.32 10.1402581 <N6SJV> CM98ID 23 0 2 230325 1518 0.33 -13 0.32 10.1402796 KT7AZ DM42 20 -1 2 230325 1518 0.21 -25 3.65 14.0970516 VK2ZJ QF56 23 1 2 230325 1518 0.35 -18 0.37 14.0970978 VK7TW QE37 37 0 2 230325 1518 0.21 -22 0.15 14.0971508 VK6KOZ OF77 23 1 2 230325 1518 0.13 -27 0.62 14.0971878 VK6VV OF84 23 0 2 230325 1518 0.17 -27 0.24 14.0971921 KA4PKB/0 30 0 2 Sat 25 Mar 2023 15:20:55 UTC: upload_to_wsprnet_daemon() Flushing the 4 spot files containing 18 spots now that they have been uploaded: AI6VN=KH6_BL10rx/maui76/20/230325_1518_spots.txt AI6VN=KH6_BL10rx/MERG_5_6/80/230325_1518_spots.txt AI6VN=KH6_BL10rx/maui76/40/230325_1518_spots.txt AI6VN=KH6_BL10rx/maui76/30/230325_1518_spots.txt Sat 25 Mar 2023 15:20:55 UTC: upload_to_wsprnet_daemon() Waiting 75 seconds until cycle offset 10 when we will start to look for spot files and for all decodes to finish On Sat, Mar 25, 2023 at 7:54 AM John Huggins, kx4o <kx4o@...> wrote: Hi Rob. |
|