From halmurray at sonic.net Fri Jul 19 22:04:45 2024 From: halmurray at sonic.net (Hal Murray) Date: Fri, 19 Jul 2024 15:04:45 -0700 Subject: sys_vars_list Message-ID: <20240719220445.C83D162003D@107-137-68-211.lightspeed.sntcca.sbcglobal.net> James Browning said: > You should be able to run the following to get the list of variables > (but no type info). > $ ntpq -c "rv 0 sys_vars_list" > which seem to not work for a while, I can't find any reference to sys_vars_list. I've looked in the current code and in git log -p Is that the wrong name? Or maybe that feature never existed. There is a flag in the table to include a slot in the default ("rv 0"). That works. The default list may need tuning. -- These are my opinions. I hate spam. From jamesb192 at jamesb192.com Fri Jul 19 22:26:01 2024 From: jamesb192 at jamesb192.com (James Browning) Date: Fri, 19 Jul 2024 15:26:01 -0700 Subject: sys_vars_list In-Reply-To: <20240719220445.C83D162003D@107-137-68-211.lightspeed.sntcca.sbcglobal.net> References: <20240719220445.C83D162003D@107-137-68-211.lightspeed.sntcca.sbcglobal.net> Message-ID: <6607455.Sb9uPGUboI@dell-2018> On Friday, July 19, 2024 3:04:45 PM PDT Hal Murray via devel wrote: > > James Browning said: > > You should be able to run the following to get the list of variables > > (but no type info). > > > $ ntpq -c "rv 0 sys_vars_list" > > > which seem to not work for a while, > > I can't find any reference to sys_vars_list. > I've looked in the current code and in git log -p > > Is that the wrong name? Or maybe that feature never existed. off name for "sys_var_list", which is what I get for typing it in from memory. it's around line 295 of ntpd/ntp_control.c where it associates with vs_varlist which also occurs around lines 170 anf 1560. The acutal reult of polling it is that you get the daemon_version variable, not what was being asked for. > There is a flag in the table to include a slot in the default ("rv 0"). > That works. The default list may need tuning. For practical reasons, it should probably not be in the default list. -30- -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 228 bytes Desc: This is a digitally signed message part. URL: