Difference between revisions of "Command List Reference"

From hps run
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
  ~/scripts/gui/gui_Ecal_Temp_User.sh
 
  ~/scripts/gui/gui_Ecal_Temp_User.sh
  
=== Restarting IOCs ===
+
=== IOCs ===
Can have only one instance.
+
Can have only one instance, running in the foreground inside a (detached) screen.<br>
Running as user hpsrun inside a (detached) screen.
+
Screen name corresponds to the IOC it is running.
To find list the active screens
+
 
 +
=====Screen Usage=====
 +
To list the active screens:
 +
screen -ls
 +
To attach to one:
 +
screen -r NAME
 +
To detach:
 +
ctrl-a-d
 +
 
 +
=====ECal HV=====
 +
ssh clonioc1
 +
screen -r EcalHVIOC
 +
cd ~nerses/github_test/epics/apps/iocBoot/iocECal_Voltages
 +
./st.cmd
 +
=====ECal LED=====
 +
ssh clonioc1
 +
screen -r EcalLEDIOC
 +
cd /usr/local/clas12/release/0.1/epics/apps/iocBoot/iocFlasher
 +
./runflasher.sh
 +
=====ECal Temperatures=====
 +
ssh clonsl1
 +
screen -r EcalTempIOC
 +
cd ~wmoore/hallb/epics/apps/iocBoot/ioctempSens
 +
./st.cmd

Latest revision as of 11:55, 18 October 2014

Everything should be run as user "hpsrun".

Running GUIs

Should be already running, can have multiple instances.

Top Level GUI
~/scripts/gui/gui_HPS.sh
ECal High Voltage
~/scripts/gui/gui_EcalHV.sh
ECal LED
~/scripts/gui/gui_Ecal_LED_User.sh
ECal Temperatures
~/scripts/gui/gui_Ecal_Temp_User.sh

IOCs

Can have only one instance, running in the foreground inside a (detached) screen.
Screen name corresponds to the IOC it is running.

Screen Usage

To list the active screens:

screen -ls

To attach to one:

screen -r NAME

To detach:

ctrl-a-d
ECal HV
ssh clonioc1
screen -r EcalHVIOC
cd ~nerses/github_test/epics/apps/iocBoot/iocECal_Voltages
./st.cmd
ECal LED
ssh clonioc1
screen -r EcalLEDIOC
cd /usr/local/clas12/release/0.1/epics/apps/iocBoot/iocFlasher
./runflasher.sh
ECal Temperatures
ssh clonsl1
screen -r EcalTempIOC
cd ~wmoore/hallb/epics/apps/iocBoot/ioctempSens
./st.cmd