Skip to content
Snippets Groups Projects
Commit 81cf1494 authored by Jameson Graef Rollins's avatar Jameson Graef Rollins
Browse files

add script to compare channel list of shared mem and /gds 1 second frames

parent cd36eff6
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
ifo=$(hostname | cut -c1-2)
IFO=${ifo^^}
case $IFO in
H1)
SITE=LHO
;;
L1)
SITE=LLO
;;
*)
echo "unknown IFO '$IFO'"
exit 1
;;
esac
FRAME_ROOT=/gds/dmt/frames/hoft/$IFO
PARTITION=${SITE}_DMTDQ
dir=$(ls -t $FRAME_ROOT | head -1)
file=$(ls -t $FRAME_ROOT/$dir | head -1)
FRAME=$FRAME_ROOT/$dir/$file
chandump () {
FrameDump "$@" -chanlist | tail -n +3 | head -n -2
}
diff -u \
<(chandump -p $PARTITION) \
<(chandump -i $FRAME)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment