diff --git a/benchmarks/shelley3pools/analyse.sh b/benchmarks/shelley3pools/analyse.sh index beb5cb2b..a3f72bd6 100755 --- a/benchmarks/shelley3pools/analyse.sh +++ b/benchmarks/shelley3pools/analyse.sh @@ -31,7 +31,7 @@ else fi # stem of logfile names: -LOGFILESTEM=${LOGFILESTEM:-"node"} +LOGFILESTEM=${LOGFILESTEM:-"node-"} for N in $(seq 0 $((NNODES - 1))); do echo "analysing logs of node ${N}" ../../scripts/nodeisleader.sh ${LOGPATH}/${LOGFILESTEM}$((N+1))-*.json | sed -e 's/^\(.*\)$/'${N}',\1/' - > ${OUTDIR}/leader-${N}.csv diff --git a/scripts/analyse.sh b/scripts/analyse.sh index 426edeeb..ebc3d3c6 100755 --- a/scripts/analyse.sh +++ b/scripts/analyse.sh @@ -56,8 +56,7 @@ extract_recvs() { select (.data.kind == "Recv" and .data.msg.kind == "MsgBlock") | .at as $at # bind timestamp | .data.msg.txIds # narrow to the txid list - | map ( .[23:87] # cut the extra stuff - | "\(.);\($at)") # produce the resulting string + | map ( "\(.);\($at)") # produce the resulting string | .[] # merge string lists over all messages ' $1 | tr -d '"' @@ -139,7 +138,7 @@ then join -1 1 -2 1 -v 1 -t ";" \ then rm -f rtx_*-missing.* else cat <