summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/tw-mh-os7-report40
1 files changed, 40 insertions, 0 deletions
diff --git a/bin/tw-mh-os7-report b/bin/tw-mh-os7-report
new file mode 100755
index 0000000..993a9b3
--- /dev/null
+++ b/bin/tw-mh-os7-report
@@ -0,0 +1,40 @@
+#!/bin/bash
+
+if [ ! hash osrpeort.pex 2>/dev/null ]; then
+  pushd .
+  cd "${HOME}/src/source"
+  ./pants binary src/python/twitter/corestorage/osreport
+  popd
+fi
+
+ROLES=(
+manhattan.prod.revenue
+manhattan.prod.athena
+manhattan.prod.zac.hourly
+manhattan.prod.blobstore
+manhattan.prod.zac.minutely.agents
+manhattan.prod.zac.index
+manhattan.prod.zac.frequent
+manhattan.prod.roslin
+manhattan.prod.starbuck
+manhattan.prod.adama
+manhattan.prod.jammer
+manhattan.prod.redwing
+manhattan.prod.baltar
+manhattan.prod.tory 
+manhattan.prod.omega
+manhattan.prod.zac.minutely.counters
+manhattan.prod.zac.frequent.agents
+manhattan.prod.cylon
+manhattan.prod.hotdog
+manhattan.prod.serina
+manhattan.prod.davis
+manhattan.prod.limiters
+manhattan.prod.zac.minutely
+manhattan.prod.zac.frequent.counters
+manhattan.prod.foster
+)
+
+for role in ${ROLES[@]}; do
+  osreport.pex report ${role}
+done