small change in convertPixie.sh

This commit is contained in:
Ryan Tang 2022-06-19 17:23:25 -04:00
parent 207a44264c
commit 6db36958ec

View File

@ -9,6 +9,8 @@ fi
runNum=$1
ls -lh rawdata/run${runNum}/run*evt
nFile=$(ls -1 rawdata/run${runNum}/run*evt | wc -l)
files=$(ls -1 rawdata/run${runNum}/run*evt)
@ -54,6 +56,7 @@ while [[ $i -lt ${nLoop} ]]; do
((j += 1))
done
sleep 1
while true; do
nthings=`ps aux | grep "[n]scl2pixie_haha"| wc -l`
echo $(date)" || "$nthings" nscl2pixie_haha are running."