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: Re: devStats - OSI version of devVxStats
From: Phillip Sorensen <[email protected]>
To: "[email protected] >> TechTalk EPICS" <[email protected]>
Date: Thu, 02 Oct 2008 13:14:57 -0400
Allison, Stephanie wrote:
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.

I have some test code written to read/calculate CPU%, MEM, and FD usage for linux from the /proc directory. It was designed to be close to the APS vxStats.


Phil Sorensen CHESS


Navigate by Date:
Prev: RE: devStats - OSI version of devVxStats Allison, Stephanie
Next: Re: Base R3.14.10-RC1 Released Andrew Johnson
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: devStats - OSI version of devVxStats Steve Lewis
Next: problem of using Streamdevice Silver
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 ·