Difference between revisions of "Command List Reference"

From hps run
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
Everything should be run as user "hpsrun".
 +
 
=== Running GUIs ===
 
=== Running GUIs ===
** Top Level GUI
+
Should be already running, can have multiple instances.
*** ~/scripts/gui/gui_HPS.sh
+
=====Top Level GUI=====
** ECal High Voltage
+
~/scripts/gui/gui_HPS.sh
*** ~/scripts/gui/gui_EcalHV.sh
+
=====ECal High Voltage=====
** ECal LED
+
~/scripts/gui/gui_EcalHV.sh
*** ~/scripts/gui/gui_Ecal_LED_User.sh
+
=====ECal LED=====
** ECal Temperatures
+
~/scripts/gui/gui_Ecal_LED_User.sh
*** ~/scripts/gui/gui_Ecal_Temp_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.<br>
 +
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
  
=== Restarting IOCs ===
+
=====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 10: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