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 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
<== Date ==> <== Thread ==>

Subject: Re: IOC Severity Report
From: Andrew Johnson <anj@aps.anl.gov>
To: <tech-talk@aps.anl.gov>
Date: Tue, 13 Jun 2017 12:06:16 -0500
While you can't do the filtering inside the IOC, if you don't mind using
an external tool to do that you can use the 'dbl' command to display all
your records (or all those of a specific record type) along with a
selection of their field values, so the command
  dbl "ai", "SEVR STAT"
will print the record name and SEVR and STAT field values for all ai
records in the IOC. Use "" or "*" to request all record types. I would
redirect the output of this command to a file and grep through that file
at my leisure:
  dbl "*", "SEVR STAT" > all-serv-stat.txt

I think this might even have worked with 3.13, but I'm not certain about
that (the "*" might not).

- Andrew

On 06/12/2017 03:46 PM, Matt Rippa wrote:
> We have some IOC's on 3.14.12.4 with several thousand records.
> Is there an easy way to get a severity report for any record where 
> 
> SEVR!=NO_ALARM ?
> 
> I ask, because we're moving these systems from 3.13.x. We notice some
> non-existing input records now cause SEVR=INVALID and record processing
> is halted. This is a great new feature, btw.
> 
> Thank you,
> -Matt

-- 
Arguing for surveillance because you have nothing to hide is no
different than making the claim, "I don't care about freedom of
speech because I have nothing to say." -- Edward Snowdon

Replies:
Re: IOC Severity Report Matt Rippa
References:
IOC Severity Report Matt Rippa

Navigate by Date:
Prev: Re: saving samples Andrew Johnson
Next: Re: saving samples Miguel Bordalo
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
Navigate by Thread:
Prev: Re: IOC Severity Report Dirk Zimoch
Next: Re: IOC Severity Report Matt Rippa
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
ANJ, 13 Jun 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·