diff options
author | Mehrdad Afshari <mmx@google.com> | 2018-01-26 10:57:27 -0800 |
---|---|---|
committer | Mehrdad Afshari <mmx@google.com> | 2018-01-26 12:16:28 -0800 |
commit | df7bc0ae02b1d840de4b1a7c034c9232c2d22650 (patch) | |
tree | 7467eb1b56f66889422147f0cd6f69813462c3ee /tools/run_tests/performance | |
parent | ea2b2e2b13b6fb579a2051a5e81e044fecd5cf3a (diff) |
Make kill_workers.sh pass shellcheck (with suppressions)
Diffstat (limited to 'tools/run_tests/performance')
-rwxr-xr-x | tools/run_tests/performance/kill_workers.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/run_tests/performance/kill_workers.sh b/tools/run_tests/performance/kill_workers.sh index efe7282c0a..95a5bf5dcb 100755 --- a/tools/run_tests/performance/kill_workers.sh +++ b/tools/run_tests/performance/kill_workers.sh @@ -15,7 +15,7 @@ set -ex -cd $(dirname $0)/../../.. +cd "$(dirname "$0")/../../.." # Make sure there are no pre-existing QPS workers around before starting # the performance test suite @@ -24,13 +24,17 @@ cd $(dirname $0)/../../.. killall -9 qps_worker || true # C# +# shellcheck disable=SC2009 ps -C mono -o pid=,cmd= | grep QpsWorker | awk '{print $1}' | xargs kill -9 || true +# shellcheck disable=SC2009 ps -C dotnet -o pid=,cmd= | grep QpsWorker | awk '{print $1}' | xargs kill -9 || true # Ruby +# shellcheck disable=SC2009 ps -C ruby -o pid=,cmd= | grep 'qps/worker.rb' | awk '{print $1}' | xargs kill -9 || true # Python +# shellcheck disable=SC2009 ps -C python -o pid=,cmd= | grep 'qps_worker.py' | awk '{print $1}' | xargs kill -9 || true # Java |