Changeset 101 for drbl-green-benchmark


Ignore:
Timestamp:
Aug 13, 2009, 5:47:06 PM (15 years ago)
Author:
jazz
Message:
  • add hostname to local_zip filename
Location:
drbl-green-benchmark
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • drbl-green-benchmark/diskfull-benchmark.sh

    r100 r101  
    44export LC_ALL=en_US
    55log_start=$(date +"%y%m%d-%H%M%S_")
     6hostname=$(hostname)
    67log_file="/root/log/${log_start}diskfull-benchmark.log"
    7 #status_file="/root/log/${log_start}diskfull-benchmark-status.log"
     8status_file="/root/log/${log_start}diskfull-benchmark-status.log"
    89status_file="/dev/null"
    9 local_zip="/root/log/${log_start}diskfull.tar.gz"
     10local_zip="/root/log/${log_start}${hostname}_diskfull.tar.gz"
    1011echo "0. Rebooting...." > $log_file
    1112echo "0. Rebooting...."
  • drbl-green-benchmark/diskless-benchmark.sh

    r100 r101  
    44export LC_ALL=en_US
    55log_start=$(date +"%y%m%d-%H%M%S_")
     6hostname=$(hostname)
    67log_file="/root/log/${log_start}diskless-benchmark.log"
    7 #status_file="/root/log/${log_start}diskless-benchmark-status.log"
     8status_file="/root/log/${log_start}diskless-benchmark-status.log"
    89status_file="/dev/null"
    9 local_zip="/root/log/${log_start}diskless.tar.gz"
     10local_zip="/root/log/${log_start}${hostname}_diskless.tar.gz"
    1011echo "0. Rebooting...." > $log_file
    1112echo "0. Rebooting...."
Note: See TracChangeset for help on using the changeset viewer.