summary refs log tree commit diff
path: root/bin/tw-get-hosts-from-job
diff options
context:
space:
mode:
Diffstat (limited to 'bin/tw-get-hosts-from-job')
-rwxr-xr-xbin/tw-get-hosts-from-job5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/tw-get-hosts-from-job b/bin/tw-get-hosts-from-job
new file mode 100755
index 0000000..6985bb6
--- /dev/null
+++ b/bin/tw-get-hosts-from-job
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+JOB_NAME=$1
+
+aurora job status "${JOB_NAME}" |grep 'RUNNING on'|awk '{print $13}' | sort