From: hadaq Date: Tue, 27 Nov 2018 09:06:26 +0000 (+0100) Subject: update control GUI scripts X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=a10e67831e0c2fe0f7cc590a621129d80bc0a83a;p=hadesdaq.git update control GUI scripts --- diff --git a/control/gui/eb/24_Restart_BNET_6_Builders b/control/gui/eb/22_Restart_BNET_2_Builders similarity index 61% rename from control/gui/eb/24_Restart_BNET_6_Builders rename to control/gui/eb/22_Restart_BNET_2_Builders index af94c38..96257af 100755 --- a/control/gui/eb/24_Restart_BNET_6_Builders +++ b/control/gui/eb/22_Restart_BNET_2_Builders @@ -4,12 +4,12 @@ ssh -X hadaq@lxhadesdaq " xterm -geometry 80x24 -bg orange -fg black -e bash -c ' - echo "Starting Eventbuilders with 6 BNET builder nodes" + echo "Starting Eventbuilders with 2 BNET builder nodes" cd ~/trbsoft/hadesdaq/evtbuild/ - ./start_eb_gbe.pl -e restart -n 1-16 -d on -p te -b 6 + ./start_eb_gbe.pl -e restart -n 1-16 -d on -p te -b 2 sleep 2 ' " -/home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" " Eventbuilders have been restarted using 6 BNET builder nodes" "EB" & +/home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" " Eventbuilders have been restarted using 2 BNET builder nodes" "EB" & diff --git a/control/gui/eb/23_Restart_BNET_4_Builders b/control/gui/eb/23_Restart_BNET_4_Builders new file mode 100755 index 0000000..295b438 --- /dev/null +++ b/control/gui/eb/23_Restart_BNET_4_Builders @@ -0,0 +1,15 @@ +#!/bin/bash + +# notifyall.sh "DAQ" " Eventbuilders are being restarted." "EB" & + +ssh -X hadaq@lxhadesdaq " + xterm -geometry 80x24 -bg orange -fg black -e bash -c ' + echo "Starting Eventbuilders with 4 BNET builder nodes" + cd ~/trbsoft/hadesdaq/evtbuild/ + ./start_eb_gbe.pl -e restart -n 1-16 -d on -p te -b 4 + sleep 2 + ' + " + +/home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" " Eventbuilders have been restarted using 4 BNET builder nodes" "EB" & + diff --git a/control/gui/eb/25_Restart_BNET_8_Builders b/control/gui/eb/25_Restart_BNET_8_Builders new file mode 100755 index 0000000..20a8104 --- /dev/null +++ b/control/gui/eb/25_Restart_BNET_8_Builders @@ -0,0 +1,15 @@ +#!/bin/bash + +# notifyall.sh "DAQ" " Eventbuilders are being restarted." "EB" & + +ssh -X hadaq@lxhadesdaq " + xterm -geometry 80x24 -bg orange -fg black -e bash -c ' + echo "Starting Eventbuilders with 8 BNET builder nodes" + cd ~/trbsoft/hadesdaq/evtbuild/ + ./start_eb_gbe.pl -e restart -n 1-16 -d on -p te -b 8 + sleep 2 + ' + " + +/home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" " Eventbuilders have been restarted using 8 BNET builder nodes" "EB" & + diff --git a/control/gui/eb/30_Prefix_NoFile b/control/gui/eb/30_Prefix_NoFile index d72d2a5..ed22b3c 100755 --- a/control/gui/eb/30_Prefix_NoFile +++ b/control/gui/eb/30_Prefix_NoFile @@ -15,7 +15,7 @@ ssh -X hadaq@lxhadesdaq " xterm -geometry 80x24 -bg orange -fg black -e bash -c ' - echo "Setting file prefix be" + echo "Setting file prefix --n NO FILES" /usr/bin/wget -a /tmp/EB_filestart.log -O /tmp/EB_fileres.txt \"http://lxhadeb07:8099/Master/BNET/StartRun/execute?prefix='--'&oninit=10\" echo set prefix -- on BNET master controller sleep 2 diff --git a/control/gui/eb/70_Prefix_Ri b/control/gui/eb/70_Prefix_Ri index 1afc78e..0fb8d11 100755 --- a/control/gui/eb/70_Prefix_Ri +++ b/control/gui/eb/70_Prefix_Ri @@ -17,7 +17,7 @@ ssh -X hadaq@lxhadesdaq " xterm -geometry 80x24 -bg orange -fg black -e bash -c ' echo "Setting file prefix ri" - /usr/bin/wget -a /tmp/EB_filestart.log -O /tmp/EB_fileres.txt \"http://lxhadeb07:8099/Master/BNET/StartRun/execute?prefix=te&oninit=10\" + /usr/bin/wget -a /tmp/EB_filestart.log -O /tmp/EB_fileres.txt \"http://lxhadeb07:8099/Master/BNET/StartRun/execute?prefix=ri&oninit=10\" echo set prefix ri on BNET master controller sleep 2 ' diff --git a/control/gui/expert/Restart_Rawdata_Mon b/control/gui/expert/Restart_Rawdata_Mon index 73a6dc7..cfc8977 100755 --- a/control/gui/expert/Restart_Rawdata_Mon +++ b/control/gui/expert/Restart_Rawdata_Mon @@ -2,8 +2,11 @@ #lxhadeb03 140.181.91.154 #lxhadeb07 140.181.80.125 # lxhadeb 08 (140.181.80.62 -#xterm -geometry 80x24 -bg orange -fg black -e bash -c ' ssh hadaq@140.181.91.154 "/home/hadaq/bin/restart_bnetmaster.sh ; echo closing window in 5 secs...; sleep 5" ' -xterm -geometry 80x24 -bg orange -fg black -e bash -c ' ssh hadaq@140.181.83.176 "/home/hadaq/bin/restart_rawmon.sh ; echo closing window in 5 secs...; sleep 5" ' +# below for lxhadeb13, given back to Jochen +#xterm -geometry 80x24 -bg orange -fg black -e bash -c ' ssh hadaq@140.181.83.176 "/home/hadaq/bin/restart_rawmon.sh ; echo closing window in 5 secs...; sleep 5" ' +# below lxhadeb12: +xterm -geometry 80x24 -bg orange -fg black -e bash -c ' ssh hadaq@140.181.83.168 "/home/hadaq/bin/restart_rawmon.sh ; echo closing window in 5 secs...; sleep 5" ' + diff --git a/control/gui/expert/Set_RICH_Thr b/control/gui/expert/Set_RICH_Thr index f1a9c67..4f14244 100755 --- a/control/gui/expert/Set_RICH_Thr +++ b/control/gui/expert/Set_RICH_Thr @@ -10,7 +10,8 @@ xterm -geometry 80x24 -bg orange -fg black -e bash --login -c ' cd /home/hadaq/trbsoft/daqtools/thresholds/threshold_wuppertal/trb_dirich_threshold/ source ./setLD #./HADESthreshscan_v1 - ./HADESthreshscan_v1 --loading-file /home/hadaq/trbsoft/daqtools/thresholds/threshold_wuppertal/trb_dirich_threshold/standard_baselines.thr -l 0 -n 0 5 + #./HADESthreshscan_v1 --loading-file /home/hadaq/trbsoft/daqtools/thresholds/threshold_wuppertal/trb_dirich_threshold/standard_baselines.thr -l 0 -n 0 5 + ./HADESthreshscan_v1 --loading-file /home/hadaq/trbsoft/daqtools/thresholds/threshold_wuppertal/trb_dirich_threshold/standard_baselines.thr -l 0 -t 0 50 echo \"Done\" sleep 10 " diff --git a/control/gui/monitor/45_DAQ_RawMon b/control/gui/monitor/45_DAQ_RawMon index a015cfb..0f0016e 100755 --- a/control/gui/monitor/45_DAQ_RawMon +++ b/control/gui/monitor/45_DAQ_RawMon @@ -1,2 +1,2 @@ #!/bin/bash -MOZ_NO_REMOTE=1 firefox -P RawMon -new-window http://hades33/rawmon/?monitoring=3000\&layout=flex\&items=["HADES/Run/Control/ErrLog","HADES/Run/HLD/HLD_ErrPerTDC","HADES/Run/HLD/HLD_HitsPerTDC","HADES/Run/HLD/HLD_EvType"] +MOZ_NO_REMOTE=1 firefox -P RawMon -new-window http://hades33/rawmon/?monitoring=3000\&layout=flex\&items=["HADES/Run/Control/ErrLog","HADES/Run/HLD/HLD_ErrPerTDC","HADES/Run/HLD/HLD_HitsPerTDC","HADES/Run/HLD/HLD_EvType"]\&options=["fill_red","","",""]