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  <20212022  2023  2024  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  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: disk space / network monitor in iocStats?
From: "Pearson, Matthew R. via Tech-talk" <tech-talk at aps.anl.gov>
To: "Zimoch Dirk (PSI)" <dirk.zimoch at psi.ch>, "TFord at lbl.gov" <TFord at lbl.gov>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 16 Nov 2021 14:56:17 +0000
Thanks Dirk and Tynan. I would be interested in seeing that network monitoring software if you can publish it.

I am thinking along similar lines, about having a Linux server monitoring IOC, so that we don't have multiple (10+) soft IOCs all periodically reading the same information. 

Cheers,
Matt

-----Original Message-----
From: Zimoch Dirk (PSI) <dirk.zimoch at psi.ch> 
Sent: Tuesday, November 16, 2021 8:22 AM
To: TFord at lbl.gov; Pearson, Matthew R. <pearsonmr at ornl.gov>
Cc: tech-talk at aps.anl.gov
Subject: [EXTERNAL] Re: disk space / network monitor in iocStats?

I have added disk space support to iocStats for posix, vxWorks, Windows.

Let me push my iocStats version github....
https://github.com/paulscherrerinstitute/iocStats
There it is.

This is the template: 
https://github.com/paulscherrerinstitute/iocStats/blob/master/iocStats/iocAdmin/Db/iocFsStats.template

And here are the implementations:
https://github.com/paulscherrerinstitute/iocStats/blob/master/iocStats/devIocStats/os/posix/osdFileSystem.c
https://github.com/paulscherrerinstitute/iocStats/blob/master/iocStats/devIocStats/os/vxWorks/osdFileSystem.c
https://github.com/paulscherrerinstitute/iocStats/blob/master/iocStats/devIocStats/os/WIN32/osdFileSystem.c

Have fun.

Dirk

On Mon, 2021-11-15 at 17:21 -0800, Tynan Ford via Tech-talk wrote:
> There is IOCMON from PSI that contains some network statistic support for VXWorks: 
> http://epics.web.psi.ch/software/iocmon/
> 
> We at ALS are using a similar idea from this to monitor network 
> statistics on our linux servers. A colleague worked on that and we can discuss that more or share the code. We don't have disk space stats but that would be interesting.
> 
> To address the PV duplication, we ended up separating the existing 
> iocStats database into 2 separate files. An "IOC- specific" stats 
> database and a "System-specific" database. Then for each of our soft IOC servers, we have one dummy soft IOC that simply loads the system stats database.
> 
> Best,
> Tynan
> 
> On Mon, Nov 15, 2021 at 1:00 PM Pearson, Matthew R. via Tech-talk <tech-talk at aps.anl.gov> wrote:
> > Hi,
> > 
> > Has anyone thought about adding disk space (or, rather, file system 
> > mount point) statistics and network statistics to the iocStats module? Or, is there another module that can already do this? Or, is this a sensible idea?
> > 
> > This may only be relevant for soft IOCs. Also, it would be redundant 
> > for multiple soft IOCs to all be monitoring disk/network use if they 
> > are running on the same machine. I am thinking about a single 'system IOC' that could monitor things like:
> > 
> > Overall CPU load
> > Overall memory
> > Overall file system use (Size, %Used) Overall network use (In/Out 
> > Bytes/s)
> > 
> > Not really aiming to replace dedicated system monitoring tools, but 
> > getting a few of these important parameters into EPICS can be useful.
> > 
> > I know iocStats is already providing overall CPU and memory use, but not network or disk space. 
> > 
> > Cheers,
> > Matt
> > 
> > 
> > STS Integrated Control System Lead Engineer Spallation Neutron 
> > Source Oak Ridge National Lab
> > 

References:
disk space / network monitor in iocStats? Pearson, Matthew R. via Tech-talk
Re: disk space / network monitor in iocStats? Tynan Ford via Tech-talk
Re: disk space / network monitor in iocStats? Zimoch Dirk (PSI) via Tech-talk

Navigate by Date:
Prev: ODP: Failed connection using e3-s7plc to Siemens S7-1500 Mateusz Nabywaniec via Tech-talk
Next: Re: disk space / network monitor in iocStats? Zimoch Dirk (PSI) 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  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: disk space / network monitor in iocStats? Zimoch Dirk (PSI) via Tech-talk
Next: Re: disk space / network monitor in iocStats? Zimoch Dirk (PSI) 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  <20212022  2023  2024 
ANJ, 16 Nov 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·