Hi Matt,
On 6/15/22 3:00 PM, Matt Rippa via
Tech-talk wrote:
The coreRelease runtime tool shows the EPICS
release info. Any way to query the OS release and build info at
runtime? Eg., RTEMS 5.1, LEGACY_STACK ?
Thank you!
Matt
>
coreRelease
############################################################################
## EPICS R7.0.6.2-DEV
## Rev. 2022-03-28T22:19+0000
############################################################################
We do set some environment variables in the IOC:
2:
ARCH=vxWorks-ppc32sf
3: EPICS_VERSION_MAJOR=7
4: EPICS_VERSION_MIDDLE=0
5: EPICS_VERSION_MINOR=6
6: EPICS_VERSION_PATCH=2
7: EPICS_VERSION_SNAPSHOT=-DEV
8: EPICS_VERSION_SITE=
9: EPICS_VERSION_SHORT=7.0.6.2
10: EPICS_VERSION_FULL=7.0.6.2-DEV
There are also have some parameters available from the environment
parameter system:
iocanj>
epicsPrtEnvParams
EPICS_CA_ADDR_LIST is undefined
EPICS_CA_CONN_TMO: 30.0
EPICS_CA_AUTO_ADDR_LIST: YES
EPICS_CA_REPEATER_PORT: 5065
EPICS_CA_SERVER_PORT: 5064
EPICS_CA_MAX_ARRAY_BYTES: 16384
EPICS_CA_AUTO_ARRAY_BYTES: YES
EPICS_CA_MAX_SEARCH_PERIOD: 300.0
EPICS_CA_NAME_SERVERS is undefined
EPICS_CA_MCAST_TTL: 1
EPICS_CAS_INTF_ADDR_LIST is undefined
EPICS_CAS_IGNORE_ADDR_LIST is undefined
EPICS_CAS_AUTO_BEACON_ADDR_LIST is undefined
EPICS_CAS_BEACON_ADDR_LIST is undefined
EPICS_CAS_SERVER_PORT is undefined
EPICS_CA_BEACON_PERIOD: 15.0
EPICS_CAS_BEACON_PERIOD is undefined
EPICS_CAS_BEACON_PORT is undefined
EPICS_BUILD_COMPILER_CLASS: gcc
EPICS_BUILD_OS_CLASS: vxWorks
EPICS_BUILD_TARGET_ARCH: vxWorks-ppc32sf
EPICS_TZ: CST6CDT,M3.2.0/2,M11.1.0/2
EPICS_TS_NTP_INET is undefined
EPICS_IOC_IGNORE_SERVERS is undefined
EPICS_IOC_LOG_PORT: 7004
EPICS_IOC_LOG_INET is undefined
EPICS_IOC_LOG_FILE_LIMIT: 1000000
EPICS_IOC_LOG_FILE_NAME is undefined
EPICS_IOC_LOG_FILE_COMMAND is undefined
IOCSH_PS1: epics>
IOCSH_HISTSIZE: 50
IOCSH_HISTEDIT_DISABLE is undefined
See envDefs.h for how to get to the compiled-in (default) values of
those.
HTH,
- Andrew
--
Complexity comes for free, Simplicity you have to work for.
- References:
- CoreRelease and the attributes of an IOC's build Matt Rippa via Tech-talk
- Navigate by Date:
- Prev:
CoreRelease and the attributes of an IOC's build Matt Rippa via Tech-talk
- Next:
RE: Testing Rocky Linux with EPICS Abdalla Ahmad 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
<2022>
2023
2024
- Navigate by Thread:
- Prev:
CoreRelease and the attributes of an IOC's build Matt Rippa via Tech-talk
- Next:
Some Questions With RTEMS 5 in MVME2502 chengsn 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
<2022>
2023
2024
|