EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: linux ioc console
From: "Thompson, David H." <[email protected]>
To: Geoff Savage <[email protected]>, EPICS Tech-Talk <[email protected]>
Date: Tue, 16 Nov 2004 08:49:52 -0500
I have a simple server that we are using for our soft IOCS.  It is
written in c++.  Essentially you start procServ with a port number and a
path to a shell script that will start your soft IOC.  The procServ goes
into the background and starts the IOC on a PTY.  You can access the PTY
using telnet to the specified port on the local host.  If you need to
reboot the soft ioc just login and send it a ^X.  If the soft IOC dies
it will be restarted after a short delay. Multiple connections can be
opened so you can use bash constructs like /dev/tcp/localhost/7000 to
just monitor or setup log files.

It has one minor bug which I need to fix sometime, when you are using
some of the sequencer's interactive commands you will need to send it a
line feed instead of a carriage return.  I think that has to do with how
the sequencer sets up its tty port when doing the single character IO.



http://ics-web1.sns.ornl.gov/share/procServer.tgz

-----Original Message-----
From: Geoff Savage [mailto:[email protected]] 
Sent: Wednesday, November 10, 2004 7:54 AM
To: EPICS Tech-Talk
Subject: linux ioc console

Hi,

We were wondering how other sites handle the console on a linux ioc.  
The linux computer in question does not have a monitor attached as it is

accessed remotely.  Either we need to run the IOC with no shell (iocsh) 
or we need some mechanism to login and connect an iocsh shell.

Geoff


Navigate by Date:
Prev: Re: gateway error message Thomas Birke
Next: Re: calc and calcout records in EPICS 3.14.6 Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: linux ioc console Allison, Stephanie
Next: Options for local booting of vxWorks and applications Andy Foster
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·