EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: devStats - OSI version of devVxStats
From: "Allison, Stephanie" <[email protected]>
To: <[email protected]>
Date: Thu, 2 Oct 2008 08:58:06 -0700
Hello,

I'm working on an OSI version of devVxStats (IOC/CPU resource monitor), starting with the one from SNS, renaming it devStats, using the same technique that Marty Kraimer used for making OSI devLib (devStats, os/vxWorks/devStatsOSD, os/RTEMS/devStatsOSD, os/default/devStatsOSD).  Till Straumann has provided the RTEMS hooks and I'm breaking out the existing vxWorks part and putting together a barebones default.  It makes devStats a lot more maintainable without all the ifdef's for different OSs and differences in BSPs and OS versions are shoved down to the lower directories.  

Three questions:
(1) Has anybody done this already?
(2) Is the name "devStats" OK?  Would devCPUstats or devIOCstats be better?  I'm keeping the "VX stats" DTYP.
(3) Has anybody done any work to make applicable parts of devVxStats work for linux?  In particular, the max number of FDs and allocated or free FDs for the process.  And a soft IOC's own %CPU would be nice if that is somehow available from C.  Otherwise, there are probably external soft IOC monitoring tools that provide this kind of information so it's probably not worth the effort. 

Some comments:
(1) There is a routine called read_ca_stats that finds the # of CA clients and # of connections in devVxStats.  This routine REALLY needs to be a part of epics/base/src/rsrv so that it ultimately gets replaced in future versions.
(2) It would be nice if a routine were added to epicsThread in epics/base to provide the number of suspended threads for soft IOCs.
(3) There is a devVxStats from SLS that has even more features and other changes.  I've run out of time to evaluate it and include it.

Thank you,
Stephanie Allison


Replies:
Re: devStats - OSI version of devVxStats Pam Gurd
RE: devStats - OSI version of devVxStats Rees, NP (Nick)

Navigate by Date:
Prev: Re: Base R3.14.10-RC1 Released J. Lewis Muir
Next: Re: devStats - OSI version of devVxStats Steve Lewis
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Record Initialization Ralph Lange
Next: Re: devStats - OSI version of devVxStats Pam Gurd
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·