EPICS Controls 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  2018  <20192020  2021  2022  2023  2024  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  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Getting data from a shell script into an ioc
From: Bo Jakobsen via Tech-talk <[email protected]>
To: "[email protected]" <[email protected]>
Date: Tue, 15 Jan 2019 09:11:31 +0100
Thanks for all the input.
I will consider the phyton solutions, but I agree the cronjob is an easy and elegant solution.

Thanks
    Bo

On 14/01/2019 15.39, Pearson, Matthew R. wrote:
Hi,

A simple approach would be to run the shell script as a cronjob, and it can do caput’s to records in an IOC with whatever information you need.

Cheers,
Matt 


On Jan 14, 2019, at 3:25 AM, Bo Jakobsen via Tech-talk <[email protected]> wrote:

Hi
I was considering to make a simple IOC to monitor our "queues" on a pc cluster. The status of the queue can be returned from a simple shell script.
I was wondering if it is possible to use the streamDevice framework to call a shell script on the IOC host and then process the output. That would be a very easy way to make simple connections to existing programs.

What would be the best approach?

Best

    Bo

    



Replies:
Re: Getting data from a shell script into an ioc Kasemir, Kay via Tech-talk
References:
Getting data from a shell script into an ioc Bo Jakobsen via Tech-talk
Re: Getting data from a shell script into an ioc Pearson, Matthew R. via Tech-talk

Navigate by Date:
Prev: Re: Stanford Research Drivers Daniel Cuneo via Tech-talk
Next: How to limit the range of setting value for longout record(DTYP asynInt32) in asynMotor? Chiang, Liang-Chih [江良志] 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  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Getting data from a shell script into an ioc Pearson, Matthew R. via Tech-talk
Next: Re: Getting data from a shell script into an ioc Kasemir, Kay 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  <20192020  2021  2022  2023  2024 
ANJ, 15 Jan 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·