summaryrefslogtreecommitdiffstats
path: root/perf-framework
diff options
context:
space:
mode:
authorRahul C S <rahulcs@redhat.com>2012-03-15 16:30:08 +0530
committerRahul C S <rahulcs@redhat.com>2012-03-15 16:31:58 +0530
commit83abc6c0d69c7337565925440688b6a0db60bf59 (patch)
tree4bf213fdcea809bbc29a3de1dd7f307e9ae1c396 /perf-framework
parentf184969cc6b7c82cc420ec837087fd2ed3b29991 (diff)
Make get_date file an actual script.
*Also confessing blunders on fs_mark sanity. :( Signed-off-by: Rahul C S <rahulcs@redhat.com> Change-Id: I7027f90879d3e9ba9f95cc79aca726b7ab9a6d8f
Diffstat (limited to 'perf-framework')
-rwxr-xr-xperf-framework/get_date15
1 files changed, 10 insertions, 5 deletions
diff --git a/perf-framework/get_date b/perf-framework/get_date
index 335359d..6f8cb9a 100755
--- a/perf-framework/get_date
+++ b/perf-framework/get_date
@@ -1,5 +1,10 @@
-date +%s
-ssh -l root 10.1.10.30 "date +%s"
-ssh -l root 10.1.10.31 "date +%s"
-ssh -l root 10.1.10.35 "date +%s"
-ssh -l root 10.1.10.36 "date +%s"
+#!/bin/bash
+
+CONFIG_FILE=gf_perf_config
+source $CONFIG_FILE
+
+date +%s;
+for brick in $BRICK_IP_ADDRS
+do
+ ssh -l root $brick "date +%s"
+done