diff options
author | liyin <liyin11@huawei.com> | 2017-05-08 09:04:32 +0000 |
---|---|---|
committer | liyin <liyin11@huawei.com> | 2017-05-10 11:16:02 +0000 |
commit | 6a8257127b3dce1f18a650afe6921a34b6c6f5b8 (patch) | |
tree | bfb2d60c1ce3f6688b92e5787818f222d620f52e /testsuites/rubbos/rubbos_scripts/1-1-1/rubbos_conf/cpu_mem.sh | |
parent | 2d9642a33a6a58f53aceba4ff3d6242f191f25f0 (diff) |
Delete testcase of rubbos and vstf.
JIRA:BOTTLENECK-167
This patch will delete vstf and rubbos testcase code.
Include some testcase config file,
if there will be someone who want to use this testcase
maybe B or C version code will contain those testcase.
if you use the D version code to run this two testcase
we will info you that:
Rubbos testsuite is not updating anymore.
This entrance for running Rubbos within Bottlenecks is no longer supported.
Change-Id: I04e4042ff3998b3696df2ed47a9ffab6f1620ec3
Signed-off-by: liyin <liyin11@huawei.com>
Diffstat (limited to 'testsuites/rubbos/rubbos_scripts/1-1-1/rubbos_conf/cpu_mem.sh')
-rw-r--r-- | testsuites/rubbos/rubbos_scripts/1-1-1/rubbos_conf/cpu_mem.sh | 100 |
1 files changed, 0 insertions, 100 deletions
diff --git a/testsuites/rubbos/rubbos_scripts/1-1-1/rubbos_conf/cpu_mem.sh b/testsuites/rubbos/rubbos_scripts/1-1-1/rubbos_conf/cpu_mem.sh deleted file mode 100644 index 069cf079..00000000 --- a/testsuites/rubbos/rubbos_scripts/1-1-1/rubbos_conf/cpu_mem.sh +++ /dev/null @@ -1,100 +0,0 @@ -#!/bin/bash -############################################################################## -# Copyright (c) 2015 Huawei Technologies Co.,Ltd and others. -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## - -cd /bottlenecks/rubbos/rubbos_scripts/1-1-1 -source set_bottlenecks_rubbos_env.sh -cd - - -# delay inbetween snapshots - -delay=1 - -# central host to send results to -analysis_host=$BENCHMARK_HOST - -# monitoring start/end time in format YYYYmmddHHMMSS (20050920152059) -start_time=$1 -end_time=$2 - -# data filename suffix -data_filename_suffix="`hostname`-${start_time}.data" - -# sar filename -sar_filename=$RUBBOS_APP/sar-${data_filename_suffix} - -# iostat filename -iostat_filename=$RUBBOS_APP/iostat-${data_filename_suffix} - -# ps filename -ps_filename=$RUBBOS_APP/ps-${data_filename_suffix} - -# date command in predefined format -date_cmd="date +%Y%m%d%H%M%S" -date=`$date_cmd` - -# TEST MODE: start_time will be 2 seconds from launch, end time 5 seconds -#start_time=`expr $date \+ 2` -#end_time=`expr $date \+ 5` - -#echo -#echo Current timestamp: $date -#echo Start timestamp: $start_time -#echo End timestamp: $end_time -#echo - -# make sure they have all arguments -if [ "$end_time" = "" ]; then - echo usage: $0 \<delay\> \<analysis host\> \<start time\> \<end time\> - echo start_time and end_time are in YYYYmmddHHMMSS format - echo ie: 9/30/2005, 2:31:54pm = 20050930143154 - echo - exit -fi - -# wait until start time -#echo -n Waiting until start time \(${start_time}\).. -date=`$date_cmd` -while [ $date -lt $start_time ]; do - sleep 1 - date=`$date_cmd` -done -#echo - - -# launch iostat -sudo nice -n -1 $SYSSTAT_HOME/bin/iostat -dxtk $delay > ${iostat_filename} & -iostat_pid=$! - - -# run test until end time -#echo -n Running test until end time \(${end_time}\).. -while [ $date -lt $end_time ]; do - - sleep $delay - date=`$date_cmd` -done -#echo - - -# kill iostat -sudo kill -9 $iostat_pid - - -# chmod - -sudo chmod g+w ${iostat_filename} -sudo chmod o+r ${iostat_filename} - - -# send data to analysis host -#echo Sending data to analysis host.. -#scp -o StrictHostKeyChecking=no -o BatchMode=yes ${sar_filename} ${analysis_host}:/tmp/elba/rubbos -#scp -o StrictHostKeyChecking=no -o BatchMode=yes ${ps_filename} ${analysis_host}:/tmp/elba/rubbos - |