Release Notes for iocStats -------------------------- iocStats-R3-1-11: Dec 5, 2012 * Changes by Stephanie Allison: Add LSV and LLSV for MEM_FREE and RAM_WS_FREE. Add MEM_FREE to limits display. Update RELEASE files for LCLS. * Changes by Judy Rock: Add START_CNT (ioc startup counter) to database and displays. iocStats-R3-1-10: Jun 26, 2012 * Changes by Helge Brands: - add ioc_stats_scanmon.adl - add devIocStats/os/WIN32 files. NOTE: For EPICS base 3.14.12.2 and below, this patch to rsrv.h for casStatsFetch is required (and a rebuild of epics base): http://epics.aps.anl.gov/epics/base/R3-14/12-docs/rsrv2.patch - move epicsExport.h inclusion to later for WIN32 builds. - bug fix for total memory more than 4GB. * Changes by Stephanie Allison: - Check for null pool pointers for vxWorks. - Correct vxWorks 6 compiler warning. - Correct epicsFindSymbol logic. iocStats-R3-1-9: Mar 13, 2012 * add generalTime records to soft IOCs (database and display). iocStats-R3-1-8: Dec 4, 2011 * improvements for non-posix targets. iocStats-R3-1-7: Dec 1, 2011 * iocAdmin/srcDisplay/Makefile - use EDL file type. * Changes by Tim Mooney: - copy all devIocStats/os/Linux to devIocStats/os/cygwin32. - add devIocStats/op/opi CSS/BOY display files. * all src Makefiles - build only for RTEMS, vxWorks, Linux, solaris, Darwin, cygwin32. Mark Rivers reports that iocStats will not build for WIN32. * add devIocStats/os/default/devIocStatsOSD.h dummy file. iocStats-R3-1-6: Aug 11, 2011 * Change by Robert Henning and Stephanie Allison: - Add medm displays to op/adl. Original displays by Robert and brought up-to-date with the edm display by Stephanie. Could use more work. * Change by Eric Norum and Stephanie Allison: - Add check for IOCSH_STARTUP_SCRIPT when setting startup script (after all the other existing env vars). - Support for RTEMS 4.10. - Move ENGINEER and LOCATION records from general env vars back to IOC stats support. * Change by Judy Rock: - iocAdmin/src/iocReleaseCreateDb.py - look for epics base version in 2nd argument if not found in the first. - configure/RULES_BUILD - add 2nd argument to iocReleaseCreateDb.py rule. * Change by Sonya Hoobler: - iocAdmin/srcDisplay/ioc_stats*.edl - correct READACF command. Add confirm display for reloading the access security file. * Change by Stephanie Allison: - iocAdmin/Db - remove baseSecurity.acf, remove ASGs in templates. Add TODFORMAT macro to TOD (time-of-day) records. - Move common logic from os/*/osdBootInfo.c to devIocStatsString.c. - Bug fix for RTEMS - initialize IF error counters before loop. - Add CPUBURNSQRT compile switch use the sqrt burn instead of the epicsTime burn in devIocStats/os/vxWorks/osdCpuUsage.c. The default is epicsTime which gives a CPU load of 0% when ioc is not busy. Add code to prevent double init of vxWorks osdCpuUsage. iocStats-R3-1-5: Mar 31, 2011 * Change by Eric Bjorklund: - devIocStats/os/vxWorks/osdMemUsage.c - correct vxWorks meminfo structure update. vxWorks 6 has a completely different layout. * Change by Stephanie Allison: - devIocStatsAnalog.c - correction for 64 bit. Note: iocStats releases above R3-1-3 require EPICS base 3.14.11 or above. Edit the following files for EPICS base 3.14.8.2: - iocAdmin/Db/iocAdmin*.substitutions - remove iocGeneralTime.template. - iocAdmin/Db/ioc.template - remove alias line for IOC_CPU_LOAD and give the record the desired name. Remove alias for SYSRESET. - iocAdmin/srcDisplay and srcRestore - change IOC_CPU_LOAD in files to the desired name. iocStats-R3-1-4: Dec 14, 2010 * Changes by Ralph Lange: - Add fixes by M. Davidsaver to avoid segfaults when devsup init failed. * Changes by Stephanie Allison: - Add workspace stats by Charlie Xu - implement for RTEMS only. - Add cluster available calc records by Charlie Xu. - Set low alarm limits very low when scan mon absolute mode is chosen. - Change ioc cpu load record name from "LOAD" to "IOC_CPU_LOAD" and add an alias for "LOAD". - Add General Time records to iocAdmin.db and associated iocAdmin displays. iocStats-R3-1-3: Aug 10, 2010 * Changes by Ralph Lange: - Made python script work for python2.4 - Fixed Makefiles to work on solaris (gcc) - Removed unnecessary posix default for osdMemUsage.c - Fixed solaris pid_t (=long) issue in BSlib.c - Added ioc_cpuload (CPU utilization of IOC instance) and sys_cpuload (CPU load of system) with implementations: - using getrusage() for posix (used on Darwin) - using /proc file system reads on Linux - using /proc reads and kernel statistics on Solaris - using the sys_cpuload value for ioc_cpuload on RTEMS and vxWorks * Changes by Stephanie Allison: - Per Ernest, move iocAdmin.db to iocAdminVxWorks.db (deprecate iocAdmin.db). - Add scanMon support from Kukhee Kim for monitoring SCAN record update time intervals. - Change iocAdminLib to iocAdmin. Add testIocAdminApp and iocBoot. Remove iocAdmin-dependency from testIocStatsApp. Remove undocumented executables (ioc_stats, rdbls, rdbapplist) from testIocStatsApp. iocStats-R3-1-2: July 09, 2010 * devIocStats - Changes by Ralph Lange: - Fix for CLUSTSIZES on vxWorks 5 (submitted by Kay-Uwe Kasemir) - Added header file for Darwin (MacOS X) (submitted by Eric Norum) - Fixed implementation for CpuUsage under Posix iocAdmin-R3-1-1: July 14, 2009 * iocAdmin/srcDisplay - LCLS display update - add ioc_stats_release.edl. * iocAdmin/src - Remove python script for automatically creating a display with RELEASE module versions.. * configure/RULES_BUILD - Remove rule for building a display with RELEASE module versions. iocAdmin-R3-1-0: July 7, 2009 * devIocStats - Ralph Lange made changes. Here are his notes: Functionality is basically as before, the main work (quite a bit more than I expected) being the split-up of all the devIocStatsOSD.c files into functionally separate source files. (So that any single functionality may be not implemented for an architecture and fall-back to os/posix or os/default.) That split-up includes new names and APIs between the generic part of the device support and the OSD parts, which I tried to streamline, which allowed for some serious code simplifications in the generic parts. I also made sure the new APIs will make it a lot easier to support waveform records. I fixed a few bugs in the code (IFerrors and uptime under vxWorks) and added (in the attached version) kernel version and CPU usage info for posix systems. Added mem->total to the meminfo structure to create reasonable information on soft IOC implementations with virtual memory organization: total: on this host - physically installed memory. used: for this IOC - physical memory used at the moment (RSS) free: on this host - physical memory that is available to processes (free plus cache plus buffers) Added memory implementation for Linux, FD usage implementations for Linux and Solaris. * iocAdmin/srcDisplay - LCLS display update. * iocAdmin/src - Added python scripts by Dayle Kotturi for automatically creating a database and display with RELEASE module versions.. * iocAdmin/Db - Add iocAdminSoft and iocAdminRTEMS databases for soft and RTEMS IOCs. Add MEM_MAX. Process CLUST records only after MBUF_FREE records are processed. * iocAdmin/srcRestore - Add iocAdminSoft.cwConfig for soft IOCs. * configure/RULES_BUILD - Add rules for building a database and display with RELEASE module versions. iocAdmin-R3-0-0: Apr 29, 2009 * Built against EPICS R3.14.8.2 and RTEMS 4.9.1 (base-R3-14-8-2-lcls3) * devIocStats/os/RTEMS/devIocStatsOSD.h - change by Sue Witherspoon so that bsp_reset is only used for PPC and uC5282. iocAdmin-R2-1-4: Mar 23, 2009 * devIocStats/src/devIocStatsAnalog.c - add support for number of records. Fix bad bug in update rate initialization. Add a check for valid rate. Reset UDF for all cluster sizes. * devIocStats/src/os/RTEMS/devIocStatsOSD.c - check for cpuUsageReset. Use Tills miscUtils routines for cpu load if rtems version >= 4.9 and selected in CONFIG_SITE. * devIocStats/src/os/vxWorks/devIocStatsOSD.* - Bug fix for vxWorks 6. Remove IF error logic for vxWorks 6 (leave those at zero). * iocAdmin/srcDisplay/ioc_stats*.edl - add alarm sensitivity on ALL inputs. * iocAdmin/Db/ioc.db - add PINI=YES for ao's, add RECORD_CNT. * README_devIocStats - add support for number of records. * configure/CONFIG_SITE - add USR_CFLAGS_RTEMS option for Till's CPU load calc. iocAdmin-R2-1-3: Feb 10, 2009 * devIocStats/src/devIocStatsString.c - set epics env var string to blank and UDF=0 when valid env var but just no value. * devIocStats/src/Makefile and devIocStats/src/os/RTEMS/devIocStatsOSD.h - use bsp_reset for uC5282 and all BSPs on RTEMS 4.9.1. * devIocStats/src/os/RTEMS/devIocStatsOSD.c - prevent negative cpu load. iocAdmin-R2-1-2: Feb 9, 2009 devIocStats/src/devIocStats.h - get rid of an unused define. iocAdmin/Db/access.db - add FBCK record. README_iocAdmin - description of FBCK record. iocAdmin-R2-1-1: Jan 20, 2009 devIocStats/src/devIocStatsString.c, devIocStats.dbd: Add device support for general environment variables and EPICS environment variables. iocAdmin/Db/iocEnvVar.db, ioc.db, Makefile, iocAdmin.substitutions: Create database for environment variables. Add EPICS environment variables. README_devIocStats - description of environment variables support. iocAdmin-R2-1-0: devIocStats/src/os/RTEMS/devIocStatsOSD.c - code changes for RTEMS 4.9. iocAdmin/srcRestore/iocAdmin.cwConfig - add STARTTOD (logging only). iocAdmin/Db/access.db, ioc.db, iocAdmin.substitutions, access.doc - Add ACCESS record to ioc.db (no longer uses access.db). Change access.db for requirements by HLA. Remove colon from name so that ACCESS can be defined per channel or attribute, not just per device. Add access.doc documentation. README_iocAdmin - description of access usage. iocAdmin-R2-0-0: Built against EPICS R3.14.8.2 and RTEMS 4.7.1 (base-R3-14-8-2-lcls2). devIocStats and testIocStatsApp added. iocAdmin-R1-0-2-1: Cosmetic changes for LCLS and R3.14.9 iocAdmin-R1-0-2: Built against EPICS R3.14.9 and RTEMS 4.7.1 (base-R3-14-9-lcls1) iocAdmin-R1-0-1: Built against EPICS R3.14.8.2 and RTEMS 4.7.1 (base-R3-14-8-2-lcls2) iocAdmin-R1-0-0: June 29, 2007 Initial version Built against EPICS R3.14.8.2 and RTEMS 4.7 (base-R3-14-8-2-lcls1)