Build IOC

procServ - Process Server with Telnet Console and Log Access

procServ(1) creates a run time environment for a command (e.g. a soft IOC). It forks a server run as a daemon into the background, which creates a child process running 'command' with all remaining 'args' from the command line. The server provides control access (stdin/stdout) to the child process console by offering a telnet connection at the specified 'endpoint'(s).

Install

cd /opt/
git clone -b v2.8.0 https://github.com/ralphlange/procserv procServ
cd /opt/procServ
make
./configure --with-systemd-utils --disable-doc
make
make install

Initialize

sudo manage-procs add -C /home/epics/FHI/theIOC/iocboot/iocTheIoc -U epics -G epics theIOC ./st.cmd

Attach

sudo manage-procs start theIOC

Attach

sudo manage-procs attach theIOC

SYNOPSIS

*procServ* ['OPTIONS'] -P 'endpoint'... 'command' 'args'...

*procServ* ['OPTIONS'] 'endpoint' 'command' 'args'...
epics@workstation:~$ manage-procs --help
usage: manage-procs [-h] [--user] [--system] [-v]
{status,list,add,remove,write-procs-cf,start,stop,attach}
...

positional arguments:
{status,list,add,remove,write-procs-cf,start,stop,attach}
status Report state of procServ instances
list List procServ instances
add Create a new procServ instance
remove Remove a procServ instance
write-procs-cf Write conserver config
start Start a procServ instance
stop Stop a procServ instance
attach Attach to a procServ instance

optional arguments:
-h, --help show this help message and exit
--user Consider user config
--system Consider system config
-v, --verbose
Page last modified on January 24, 2022, at 06:11 PM
Powered by PmWiki