summaryrefslogtreecommitdiffstats
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
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
-rwxr-xr-xperf-framework/get_date15
-rwxr-xr-xsanity/system_light/scripts/fs_mark/fs_mark.sh4
2 files changed, 12 insertions, 7 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
diff --git a/sanity/system_light/scripts/fs_mark/fs_mark.sh b/sanity/system_light/scripts/fs_mark/fs_mark.sh
index 53404c5..12df22f 100755
--- a/sanity/system_light/scripts/fs_mark/fs_mark.sh
+++ b/sanity/system_light/scripts/fs_mark/fs_mark.sh
@@ -5,9 +5,9 @@ function main ()
echo "start: `date +%T`"
- for i in `seq 1 6`
+ for i in `seq 0 6`
do
- time fs_mark -d . -D SUBDIR_COUNT -t THR_COUNT -S $i 2>>$LOG_FILE 1>>$LOG_FILE
+ time fs_mark -d . -D $SUBDIR_COUNT -t $THR_COUNT -S $i 2>>$LOG_FILE 1>>$LOG_FILE
if [ $? -ne 0 ]; then
echo "end:`date +%T`";
return 11;