1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 <2025> | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 <2025> |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: equivalent functionality to iocStats for PVA |
From: | Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov> |
To: | Ralph Lange <ralph.lange at gmx.de>, Pierrick Hanlet <hanlet at fnal.gov> |
Cc: | EPICS Tech Talk <tech-talk at aps.anl.gov> |
Date: | Sat, 1 Feb 2025 14:34:26 -0800 |
On 1/31/25 11:11, Ralph Lange via Tech-talk wrote:
Hi Pierrick, On Fri, 31 Jan 2025 at 16:29, Pierrick M Hanlet via Tech-talk <tech-talk at aps.anl.gov <mailto:tech-talk at aps.anl.gov>> wrote: __ It's precisely these three missing ones for which I'm searching: CA_CLNT_CNT, CA_CONN_CNT, RECORD_CNT for PVA. RECORD_CNT counts the records in the database - independent from PVA/CA. Down to 2. Sounds more and more like codeathon material...
Agreed. fyi. QSRV2 provides hooks to the dbServer.h API, including 'dbServer::stats()' to provide channel and connection counts. However, there is so far no way for external code like iocStats to call in to get this information.https://urldefense.us/v3/__https://github.com/epics-base/epics-base/blob/065fe7cab62bc6b88e32e61e022e910554b05c7f/modules/database/src/ioc/db/dbServer.h*L60-L65__;Iw!!G_uCfscf7eWS!ZyR3NS6nRx8ZcBJFTm6LBL25gsTOXffpIeMj5AkuaFuCalpTOMT2PK-MM22rPbFKy56BmAuhUOdJxGA7GAjclwdlgQ$