From 7e2f474a884c8240a3d3b5256a0a5efcc5187d70 Mon Sep 17 00:00:00 2001 From: Rick Carback <rick@privategrity.com> Date: Fri, 22 May 2020 20:57:07 +0000 Subject: [PATCH] add options to stop on exit and to show console output --- basice2e/run.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/basice2e/run.sh b/basice2e/run.sh index ea83178..27df761 100755 --- a/basice2e/run.sh +++ b/basice2e/run.sh @@ -49,7 +49,7 @@ do SERVERCMD="../bin/server -i $IDX --roundBufferTimeout 300s --config server-$SERVERID.yaml" if [ $SERVERID -eq 5 ] && [ -n "$NSYSENABLED" ] then - SERVERCMD="nsys profile --trace=cuda -o server-$SERVERID $SERVERCMD" + SERVERCMD="nsys profile --trace=cuda -o -w -x server-$SERVERID $SERVERCMD" fi $SERVERCMD > $SERVERLOGS/server-$SERVERID-console.txt 2>&1 & PIDVAL=$! @@ -70,9 +70,6 @@ jobs -p > results/serverpids finish() { echo "STOPPING SERVERS AND GATEWAYS..." - if [ -n "$NSYSENABLED" ]; then - nsys shutdown --kill=sigterm - fi # NOTE: jobs -p doesn't work in a signal handler for job in $(cat results/serverpids) do -- GitLab