EPICS Home

Experimental Physics and Industrial Control System


 
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 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: Announcing linStat driver
From: Michael Davidsaver via Core-talk <core-talk at aps.anl.gov>
To: EPICS core-talk <core-talk at aps.anl.gov>
Date: Sun, 16 Feb 2025 21:45:27 -0800

https://urldefense.us/v3/__https://github.com/mdavidsaver/linStat__;!!G_uCfscf7eWS!adUB5Fv1Li2bt72jSF6MXum-qXgkKSJOuKQcAivFFJAKhSf0NdoDc2CT-xHPEx7c4XQBzq08lzAmjf8-miMGWhsX_g$
This linStat driver is something I started last year when I needed
to report file system usage.  It has grown into what I think is a
full super-set of the information exposed by iocStats, although
only for Linux.  Hence the name.  It also requires a recent
compiler with c++17, and Base >= 7.0.4.

So linStat will not be a direct replacement for iocStats.

Where there is overlap with iocStats, I have tried to use the
same record names.

linStat reports more than iocStats can by default.  eg. network
statistics and maximum temperature.  And it can be customized for
a specific host.  eg. disk usage for a mount point, or
status/bandwidth for a specific network interfaces.

Also some values which may or may not turn out to be interesting,
like malloc() pool stats.  Page fault and context switch counters.

At this point I think this module is usable, but I do not yet
consider its interfaces stable.  File name, record names, link
strings, etc. may change.

So I think this driver is ready for adventurous users and
potential contributors who have ideas of what else to add,
or look for.  There is a lot of information hidden away
in "/proc" and "/sys".  eg. I would be interesting to find
disk error counters, or a way to reliably detect fan failures.

Replies:
Re: Announcing linStat driver Ralph Lange via Core-talk

Navigate by Date:
Prev: Build completed: EPICS Base 7 base-7.0-1484 AppVeyor via Core-talk
Next: Re: Announcing linStat driver Ralph Lange via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <2025
Navigate by Thread:
Prev: Build completed: EPICS Base 7 base-7.0-1484 AppVeyor via Core-talk
Next: Re: Announcing linStat driver Ralph Lange via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <2025