Everyone,
I've put together ai/ao device support that efficiently gives access to the
following vxWorks statistics:
ai:
free_bytes - number of bytes in IOC not allocated
allocated_bytes - number of bytes allocated
load - estimated percent CPU usage by tasks
tcp_connections - number of TCP connection currently in use
ao:
memoryScanRate - max rate at which new memory stats can be read
tcpScanRate - max rate at which TCP connections can be calculated
loadScanRate - max rate at which load can be calulated
loadSampleRate - vxWorks spy facility samples-per-second for load
loadSampleLength - length of time in second that samples for load
calculation are taken.
Get the source code from the APS ftp server:
epics.aps.anl.gov:pub/epics/extensions/devAiStats.c
A sample database and doc are included as a comment in the source code
along with the devSup.ascii modifications needed.
Jim
- Navigate by Date:
- Prev:
Re: Illegal Lock Set Lock Set out of range:dbScanLock Marty Kraimer
- Next:
Channel access security Frank Lenkszus
- 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
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Illegal Lock Set Lock Set out of range:dbScanLock Marty Kraimer
- Next:
Channel access security Frank Lenkszus
- 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
2022
2023
2024
|