summary refs log tree commit diff
path: root/bin/tw-get-hosts-from-job
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2017-02-16 13:38:39 -0800
committerFranck Cuny <franck.cuny@gmail.com>2017-02-16 13:38:39 -0800
commitedfd0f5bcc591dc20023a6f48c35f887fcb3555f (patch)
treebaf4a573de7307233040ca38646d48edab305263 /bin/tw-get-hosts-from-job
parent[notes] up (diff)
downloademacs.d-edfd0f5bcc591dc20023a6f48c35f887fcb3555f.tar.gz
[bin] prefix twitter's scripts with 'tw'.
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