diff options
author | Rahul C S <rahulcs@redhat.com> | 2012-03-15 16:30:08 +0530 |
---|---|---|
committer | Rahul C S <rahulcs@redhat.com> | 2012-03-15 16:31:58 +0530 |
commit | 83abc6c0d69c7337565925440688b6a0db60bf59 (patch) | |
tree | 4bf213fdcea809bbc29a3de1dd7f307e9ae1c396 /perf-framework | |
parent | f184969cc6b7c82cc420ec837087fd2ed3b29991 (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-x | perf-framework/get_date | 15 |
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 |