mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-06-07 02:28:40 +02:00
standartisation of scripts
This commit is contained in:
committed by
Data Backend account
parent
fe39841df9
commit
0e001f4daf
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ $# != 1 ]
|
||||
then
|
||||
systemctl start JF11-buffer-worker@{00..03}
|
||||
exit
|
||||
fi
|
||||
|
||||
M=$1
|
||||
|
||||
coreAssociatedBuffer=(11 12 13 1)
|
||||
|
||||
initialUDPport=50170
|
||||
port=$((${initialUDPport}+10#${M}))
|
||||
DETECTOR=JF11T04V01
|
||||
|
||||
taskset -c ${coreAssociatedBuffer[10#${M}]} /usr/local/bin/sf_buffer ${DETECTOR} M${M} ${port} /gpfs/photonics/swissfel/buffer/${DETECTOR} ${M}
|
||||
Reference in New Issue
Block a user