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  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  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  <20222023  2024  2025 
<== Date ==> <== Thread ==>

Subject: Re: Checking CPU and memory usage for an IOC
From: Simon Rose via Tech-talk <tech-talk at aps.anl.gov>
To: Andrew Johnson <anj at anl.gov>, "Wang, Andrew" <wang126 at llnl.gov>, "EPICS tech-talk" <tech-talk at aps.anl.gov>
Date: Thu, 22 Dec 2022 15:39:08 +0000

Hi all –

 

I am actually supposed to be the maintainer, but I have to sheepishly admit that I haven’t set the time aside to go through and deal with this.

 

But I will take a look at the documentation as well; that seems like there should be some easy improvements there too.

 

Cheers,

 

Simon

 

From: Andrew Johnson <anj at anl.gov>
Date: Wednesday, 21 December 2022 at 17:48
To: "Wang, Andrew" <wang126 at llnl.gov>, Simon Rose <Simon.Rose at ess.eu>, EPICS tech-talk <tech-talk at aps.anl.gov>
Subject: Re: Checking CPU and memory usage for an IOC

 

Hi Andy,

Yes, it looks like most of those device parameters do differ from the documentation that it links to. Unfortunately this particular module has been lacking a willing maintainer for more years than I care to think of, and there are quite a few things that need fixing — take a look at the issues and PRs, you might want to merge some of them into your local copy. The .db files that come with it do work, but they might provide records that your site might not need/want, so you'll probably want to use locally-modified versions of them.

- Andrew

On 12/20/22 11:55 PM, Wang, Andrew via Tech-talk wrote:

All,



I was able to get iocStats working. However, there is a slight error in this document under the ao record section: https://www.slac.stanford.edu/grp/ssrl/spear/epics/site/devIocStats/README_devIocStats

 

Shouldn't cpuScanRate be cpu_scan_rate?

 

Thank you,

Andy

cpuScanRate       

From: Wang, Andrew
Sent: Monday, December 12, 2022 5:58 PM
To: Simon Rose <Simon.Rose at ess.eu>; EPICS tech-talk <tech-talk at aps.anl.gov>
Subject: RE: Checking CPU and memory usage for an IOC

 

Thank you Simon!

From: Simon Rose <Simon.Rose at ess.eu>
Sent: Monday, December 12, 2022 2:34 PM
To: Wang, Andrew <wang126 at llnl.gov>; EPICS tech-talk <tech-talk at aps.anl.gov>
Subject: Re: Checking CPU and memory usage for an IOC

 

Hi Andy –

 

There is the iocStats module that might do what you are looking for: https://github.com/epics-modules/iocStats.

 

In particular, there is a record that specifically monitors CPU usage: https://github.com/epics-modules/iocStats/blob/master/iocAdmin/Db/ioc.template#L130 (as well as one for memory usage).

 

Cheers,

 

Simon

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of "Wang, Andrew via Tech-talk" <tech-talk at aps.anl.gov>
Reply to: "Wang, Andrew" <wang126 at llnl.gov>
Date: Monday, 12 December 2022 at 23:13
To: EPICS tech-talk <tech-talk at aps.anl.gov>
Subject: Checking CPU and memory usage for an IOC

 

All,

 

This is a very general question, but I was curious if people here have been able to monitor CPU and memory usage of a particular IOC as it ran. If so, what was the approach you took to do so?

 

Thank you,

Andy



-- 
Complexity comes for free, Simplicity you have to work for.

References:
Checking CPU and memory usage for an IOC Wang, Andrew via Tech-talk
Re: Checking CPU and memory usage for an IOC Simon Rose via Tech-talk
RE: Checking CPU and memory usage for an IOC Wang, Andrew via Tech-talk
Re: Checking CPU and memory usage for an IOC Wang, Andrew via Tech-talk
Re: Checking CPU and memory usage for an IOC Andrew Johnson via Tech-talk

Navigate by Date:
Prev: Re: Checking CPU and memory usage for an IOC Andrew Johnson via Tech-talk
Next: Mailing lists and APS Website down-time Andrew Johnson via Tech-talk
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  <20222023  2024  2025 
Navigate by Thread:
Prev: Re: Checking CPU and memory usage for an IOC Andrew Johnson via Tech-talk
Next: vxworks booting werid script and I can't moving motor whitetiger1123 via Tech-talk
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  <20222023  2024  2025 
ANJ, 22 Dec 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·