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  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: copying output of Linux ioc to file
From: Stephen Lewis <[email protected]>
To: [email protected]
Cc: [email protected]
Date: Thu, 22 Jul 2010 14:52:03 -0700
But procServ does so much more!  It is really easy to use (it has about as many arguments as script).  The real advantage is that you do not have to keep a terminal window open: besides saving the output to a file, it listens on a telnet port so you can 'get back to the console'.  Thus, you log out once your soft IOC is up and running (or even have it started upon reboot/power-up).  And it will restart that IOC, should it crash.  If fact, a nice way to get a 'soft reboot' is to have a subroutine record which calls 'exit' for you.  (See iocAdmin/devIocStats for that.)

Besides, it is quite easy to 'download + compilation + read doc'.



On 22 Jul 2010, at 14:33 , [email protected] wrote:

> 
> procServ would work, but requires download + compilation + read doc ;-).
> 
> Rather have a look at 'script' (script [-a] [-c COMMAND] [-f] [-q] [-t] [file])
> Alternatively you can pipe in 'vim' ( find . | vim - ) or emacs
> 
> --
> E
> 
> On 10:55 Thu 22 Jul     , Patrick Thomas wrote:
>> Hi,
>> 
>> I was wondering if there was a way to tee the output of a Linux ioc to a  
>> file? I have tried piping to the tee command, but this causes the output  
>> to 'freeze up' after a few seconds. Thank you for your time,
>> 
>> -Patrick
> 
> -- 
> Emmanuel


References:
copying output of Linux ioc to file Patrick Thomas
Re: copying output of Linux ioc to file emmanuel_mayssat

Navigate by Date:
Prev: Re: copying output of Linux ioc to file emmanuel_mayssat
Next: Re: copying output of Linux ioc to file Till Straumann
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: copying output of Linux ioc to file emmanuel_mayssat
Next: Re: copying output of Linux ioc to file Till Straumann
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·