diff --git a/kernel/stress.sh b/kernel/stress.sh index 1357eeb..1582d8d 100755 --- a/kernel/stress.sh +++ b/kernel/stress.sh @@ -5,7 +5,8 @@ cd /root/ hosts="try1 try2 try3 try4 try5" for host in ${hosts}; do - echo start {host} + START=`date +%s` + echo STARTDOKERN {host} $START date -u sync @@ -27,6 +28,9 @@ for host in ${hosts}; do /root/benchmarks/kernel/build.pl --clean date -u sync - echo end {host} + END=`date +%s` + ELAPSE=$(( $END - $START )) + echo ENDDOKERN {host} $END + echo ELAPSEDOKERN $ELAPSE date -u done