rabbitmq-server/scripts/bazel/kill_orphaned_ct_run.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
120 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -euo pipefail
pids=$(ps aux | grep -v awk | awk '/ct_run.*erl/ {print $2}')
set -x
kill $pids