diff options
Diffstat (limited to 'qa/archives')
-rw-r--r-- | qa/archives/20071023-08-06-36.0 | bin | 0 -> 29189 bytes | |||
-rw-r--r-- | qa/archives/20071023-08-06-36.index | bin | 0 -> 212 bytes | |||
-rw-r--r-- | qa/archives/20071023-08-06-36.meta | bin | 0 -> 944 bytes | |||
-rw-r--r-- | qa/archives/GNUmakefile | 20 | ||||
-rw-r--r-- | qa/archives/GNUmakefile.install | 11 | ||||
-rw-r--r-- | qa/archives/chartqa1.0 | bin | 0 -> 1903984 bytes | |||
-rw-r--r-- | qa/archives/chartqa1.index | bin | 0 -> 3812 bytes | |||
-rw-r--r-- | qa/archives/chartqa1.meta | bin | 0 -> 56564 bytes | |||
-rw-r--r-- | qa/archives/dm-io.0 | bin | 0 -> 2795172 bytes | |||
-rw-r--r-- | qa/archives/dm-io.index | bin | 0 -> 672 bytes | |||
-rw-r--r-- | qa/archives/dm-io.meta | bin | 0 -> 25704 bytes | |||
-rw-r--r-- | qa/archives/gap.0 | bin | 0 -> 9144 bytes | |||
-rw-r--r-- | qa/archives/gap.index | bin | 0 -> 232 bytes | |||
-rw-r--r-- | qa/archives/gap.meta | bin | 0 -> 1901 bytes | |||
-rw-r--r-- | qa/archives/gap2.0 | bin | 0 -> 13580 bytes | |||
-rw-r--r-- | qa/archives/gap2.index | bin | 0 -> 272 bytes | |||
-rw-r--r-- | qa/archives/gap2.meta | bin | 0 -> 2114 bytes | |||
-rw-r--r-- | qa/archives/mk.gap.sh | 36 | ||||
-rwxr-xr-x | qa/archives/mk.mysql.sh | 63 | ||||
-rw-r--r-- | qa/archives/moomba.pmkstat.0 | bin | 0 -> 6520 bytes | |||
-rw-r--r-- | qa/archives/moomba.pmkstat.index | bin | 0 -> 192 bytes | |||
-rw-r--r-- | qa/archives/moomba.pmkstat.meta | bin | 0 -> 1563 bytes | |||
-rw-r--r-- | qa/archives/mysql-1.0 | bin | 0 -> 55480 bytes | |||
-rw-r--r-- | qa/archives/mysql-1.index | bin | 0 -> 192 bytes | |||
-rw-r--r-- | qa/archives/mysql-1.meta | bin | 0 -> 37928 bytes | |||
-rw-r--r-- | qa/archives/oview-short.0 | bin | 0 -> 4708 bytes | |||
-rw-r--r-- | qa/archives/oview-short.index | bin | 0 -> 172 bytes | |||
-rw-r--r-- | qa/archives/oview-short.meta | bin | 0 -> 3683 bytes | |||
-rw-r--r-- | qa/archives/rattle.0 | bin | 0 -> 1824 bytes | |||
-rw-r--r-- | qa/archives/rattle.index | bin | 0 -> 192 bytes | |||
-rw-r--r-- | qa/archives/rattle.meta | bin | 0 -> 590 bytes | |||
-rw-r--r-- | qa/archives/snort-disks.0 | bin | 0 -> 8416 bytes | |||
-rw-r--r-- | qa/archives/snort-disks.index | bin | 0 -> 192 bytes | |||
-rw-r--r-- | qa/archives/snort-disks.meta | bin | 0 -> 938 bytes | |||
-rw-r--r-- | qa/archives/spotinstance.0 | bin | 0 -> 203072 bytes | |||
-rw-r--r-- | qa/archives/spotinstance.index | bin | 0 -> 192 bytes | |||
-rw-r--r-- | qa/archives/spotinstance.meta | bin | 0 -> 5123 bytes | |||
-rw-r--r-- | qa/archives/viewqa1.0 | bin | 0 -> 22444 bytes | |||
-rw-r--r-- | qa/archives/viewqa1.index | bin | 0 -> 172 bytes | |||
-rw-r--r-- | qa/archives/viewqa1.meta | bin | 0 -> 817 bytes | |||
-rw-r--r-- | qa/archives/viewqa2.0 | bin | 0 -> 19188 bytes | |||
-rw-r--r-- | qa/archives/viewqa2.index | bin | 0 -> 172 bytes | |||
-rw-r--r-- | qa/archives/viewqa2.meta | bin | 0 -> 817 bytes | |||
-rw-r--r-- | qa/archives/viewqa3.0 | bin | 0 -> 102956 bytes | |||
-rw-r--r-- | qa/archives/viewqa3.index | bin | 0 -> 192 bytes | |||
-rw-r--r-- | qa/archives/viewqa3.meta | bin | 0 -> 817 bytes | |||
-rw-r--r-- | qa/archives/vldb-disks.0 | bin | 0 -> 13764 bytes | |||
-rw-r--r-- | qa/archives/vldb-disks.index | bin | 0 -> 192 bytes | |||
-rw-r--r-- | qa/archives/vldb-disks.meta | bin | 0 -> 7142 bytes |
49 files changed, 130 insertions, 0 deletions
diff --git a/qa/archives/20071023-08-06-36.0 b/qa/archives/20071023-08-06-36.0 Binary files differnew file mode 100644 index 0000000..354a43b --- /dev/null +++ b/qa/archives/20071023-08-06-36.0 diff --git a/qa/archives/20071023-08-06-36.index b/qa/archives/20071023-08-06-36.index Binary files differnew file mode 100644 index 0000000..91c8b50 --- /dev/null +++ b/qa/archives/20071023-08-06-36.index diff --git a/qa/archives/20071023-08-06-36.meta b/qa/archives/20071023-08-06-36.meta Binary files differnew file mode 100644 index 0000000..abbb9b9 --- /dev/null +++ b/qa/archives/20071023-08-06-36.meta diff --git a/qa/archives/GNUmakefile b/qa/archives/GNUmakefile new file mode 100644 index 0000000..32372fd --- /dev/null +++ b/qa/archives/GNUmakefile @@ -0,0 +1,20 @@ +TOPDIR = ../.. +include $(TOPDIR)/src/include/builddefs + +TESTDIR = $(PCP_VAR_DIR)/testsuite/archives +SRCARCH = chartqa1.0 viewqa1.0 viewqa2.0 viewqa3.0 rattle.0 oview-short.0 \ + snort-disks.0 vldb-disks.0 moomba.pmkstat.0 gap.0 gap2.0 \ + 20071023-08-06-36.0 dm-io.0 mysql-1.0 +SRCEXTRAS = $(subst .0,.meta,$(SRCARCH)) $(subst .0,.index,$(SRCARCH)) +SCRIPTS = mk.gap.sh mk.mysql.sh +OTHERS = GNUmakefile.install + +default default_pcp setup: + +install install_pcp: + $(INSTALL) -m 755 -d $(TESTDIR) + $(INSTALL) -m 755 $(SCRIPTS) $(TESTDIR) + $(INSTALL) -m 644 GNUmakefile.install $(TESTDIR)/GNUmakefile + $(INSTALL) -m 644 $(OTHERS) $(SRCARCH) $(SRCEXTRAS) $(TESTDIR) + +include $(BUILDRULES) diff --git a/qa/archives/GNUmakefile.install b/qa/archives/GNUmakefile.install new file mode 100644 index 0000000..75d545f --- /dev/null +++ b/qa/archives/GNUmakefile.install @@ -0,0 +1,11 @@ +ifdef PCP_CONF +include $(PCP_CONF) +else +include $(PCP_DIR)/etc/pcp.conf +endif +PATH = $(shell . $(PCP_DIR)/etc/pcp.env; echo $$PATH) +include $(PCP_INC_DIR)/builddefs + +default setup install: + +include $(BUILDRULES) diff --git a/qa/archives/chartqa1.0 b/qa/archives/chartqa1.0 Binary files differnew file mode 100644 index 0000000..661be68 --- /dev/null +++ b/qa/archives/chartqa1.0 diff --git a/qa/archives/chartqa1.index b/qa/archives/chartqa1.index Binary files differnew file mode 100644 index 0000000..3b13623 --- /dev/null +++ b/qa/archives/chartqa1.index diff --git a/qa/archives/chartqa1.meta b/qa/archives/chartqa1.meta Binary files differnew file mode 100644 index 0000000..a8eb887 --- /dev/null +++ b/qa/archives/chartqa1.meta diff --git a/qa/archives/dm-io.0 b/qa/archives/dm-io.0 Binary files differnew file mode 100644 index 0000000..f7692dd --- /dev/null +++ b/qa/archives/dm-io.0 diff --git a/qa/archives/dm-io.index b/qa/archives/dm-io.index Binary files differnew file mode 100644 index 0000000..f6243a4 --- /dev/null +++ b/qa/archives/dm-io.index diff --git a/qa/archives/dm-io.meta b/qa/archives/dm-io.meta Binary files differnew file mode 100644 index 0000000..21127b9 --- /dev/null +++ b/qa/archives/dm-io.meta diff --git a/qa/archives/gap.0 b/qa/archives/gap.0 Binary files differnew file mode 100644 index 0000000..c4cd714 --- /dev/null +++ b/qa/archives/gap.0 diff --git a/qa/archives/gap.index b/qa/archives/gap.index Binary files differnew file mode 100644 index 0000000..8abc43c --- /dev/null +++ b/qa/archives/gap.index diff --git a/qa/archives/gap.meta b/qa/archives/gap.meta Binary files differnew file mode 100644 index 0000000..d149218 --- /dev/null +++ b/qa/archives/gap.meta diff --git a/qa/archives/gap2.0 b/qa/archives/gap2.0 Binary files differnew file mode 100644 index 0000000..5f6a479 --- /dev/null +++ b/qa/archives/gap2.0 diff --git a/qa/archives/gap2.index b/qa/archives/gap2.index Binary files differnew file mode 100644 index 0000000..9db88b1 --- /dev/null +++ b/qa/archives/gap2.index diff --git a/qa/archives/gap2.meta b/qa/archives/gap2.meta Binary files differnew file mode 100644 index 0000000..b0c7e72 --- /dev/null +++ b/qa/archives/gap2.meta diff --git a/qa/archives/mk.gap.sh b/qa/archives/mk.gap.sh new file mode 100644 index 0000000..9c875d1 --- /dev/null +++ b/qa/archives/mk.gap.sh @@ -0,0 +1,36 @@ +#!/bin/sh +# +# Recipe for creating the gap and gap2 archives. +# +# gap: 10 sec data, 5 sec gap, 10 sec data +# gap2: 10 sec data, 5 sec gap, 10 sec data, 5 sec gap, 10 sec data +# sample.bin instances change across gaps +# + +. $PCP_DIR/etc/pcp.env + +here=`pwd` +tmp=/tmp/$$ +rm -rf $tmp +mkdir -p $tmp/tmp +cd $tmp + +trap "cd $here; rm -fr $tmp; exit" 0 1 2 3 15 + +echo 'log mandatory on 1sec { pmcd.pdu_in,pmcd.numagents,hinv.ncpu,sample.bin["bin-100","bin-200","bin-400"] }' >tmp/A.config +echo 'log mandatory on 1sec { pmcd.pdu_in,pmcd.numagents,hinv.ncpu,sample.bin["bin-100","bin-300","bin-400"] }' >tmp/B.config +echo 'log mandatory on 1sec { pmcd.pdu_in,pmcd.numagents,hinv.ncpu,sample.bin["bin-100","bin-400"] }' >tmp/C.config + +${PCP_BINADM_DIR}/pmlogger -s 10 -c tmp/A.config tmp/A +sleep 5 +${PCP_BINADM_DIR}/pmlogger -s 10 -c tmp/B.config tmp/B +sleep 5 +${PCP_BINADM_DIR}/pmlogger -s 10 -c tmp/C.config tmp/C + +rm -f gap.index gap.meta gap.0 +${PCP_BINADM_DIR}/pmlogextract tmp/A tmp/B $here/gap + +rm -f gap2.index gap2.meta gap2.0 +${PCP_BINADM_DIR}/pmlogextract tmp/A tmp/B tmp/C $here/gap2 + +exit diff --git a/qa/archives/mk.mysql.sh b/qa/archives/mk.mysql.sh new file mode 100755 index 0000000..9953960 --- /dev/null +++ b/qa/archives/mk.mysql.sh @@ -0,0 +1,63 @@ +#!/bin/sh +# +# Recipe for creating the mysql archive +# + +. $PCP_DIR/etc/pcp.env + +here=`pwd` +tmp=/tmp/$$ +rm -rf $tmp + +if pmprobe mysql 2>&1 | grep -q 'Unknown metric name' +then + echo "Arrg, mysql PMDA is apparently not installed" + exit 1 +fi + +version=0 +while [ -f mysql-$version.0 ] +do + version=`expr $version + 1` +done + +trap "rm -rf $tmp; exit" 0 1 2 3 15 + +echo 'log mandatory on 5sec { mysql }' >$tmp.config +${PCP_BINADM_DIR}/pmlogger -s 5 -c $tmp.config mysql-$version & + +# Now do some work to make mysql stats move a little +# We assume the example classicmodels DB has been installed +# (available from http://www.mysqltutorial.org/mysql-sample-database.aspx) +# and is available to be used. +# +# May need to change the user and password ... +SQLUSER=root +SQLPASSWORD=letmein + +for i in 1 2 3 4 5 6 +do + sleep 4 + cat <<End-of-File | mysql -u$SQLUSER -p$SQLPASSWORD classicmodels +select count(*) from customers; +select count(*) from payments; +select count(*) from employees; +select count(*) from offices; +select count(*) from orders; +select count(*) from orderdetails; +select count(*) from products; +select count(*) from productlines; + +select productCode, productName, textDescription +from products c1 inner join productlines c2 +on c1.productline = c2.productline; + +select c1.orderNumber, status, sum(quantityOrdered*priceEach) total +from orders as c1 inner join orderdetails +as c2 on c1.orderNumber = c2.orderNumber +group by orderNumber; + +End-of-File +done + +wait diff --git a/qa/archives/moomba.pmkstat.0 b/qa/archives/moomba.pmkstat.0 Binary files differnew file mode 100644 index 0000000..e9ac65c --- /dev/null +++ b/qa/archives/moomba.pmkstat.0 diff --git a/qa/archives/moomba.pmkstat.index b/qa/archives/moomba.pmkstat.index Binary files differnew file mode 100644 index 0000000..5f165fd --- /dev/null +++ b/qa/archives/moomba.pmkstat.index diff --git a/qa/archives/moomba.pmkstat.meta b/qa/archives/moomba.pmkstat.meta Binary files differnew file mode 100644 index 0000000..4483200 --- /dev/null +++ b/qa/archives/moomba.pmkstat.meta diff --git a/qa/archives/mysql-1.0 b/qa/archives/mysql-1.0 Binary files differnew file mode 100644 index 0000000..0901aa6 --- /dev/null +++ b/qa/archives/mysql-1.0 diff --git a/qa/archives/mysql-1.index b/qa/archives/mysql-1.index Binary files differnew file mode 100644 index 0000000..787620d --- /dev/null +++ b/qa/archives/mysql-1.index diff --git a/qa/archives/mysql-1.meta b/qa/archives/mysql-1.meta Binary files differnew file mode 100644 index 0000000..67b9b47 --- /dev/null +++ b/qa/archives/mysql-1.meta diff --git a/qa/archives/oview-short.0 b/qa/archives/oview-short.0 Binary files differnew file mode 100644 index 0000000..2a31775 --- /dev/null +++ b/qa/archives/oview-short.0 diff --git a/qa/archives/oview-short.index b/qa/archives/oview-short.index Binary files differnew file mode 100644 index 0000000..50f1db5 --- /dev/null +++ b/qa/archives/oview-short.index diff --git a/qa/archives/oview-short.meta b/qa/archives/oview-short.meta Binary files differnew file mode 100644 index 0000000..42f242b --- /dev/null +++ b/qa/archives/oview-short.meta diff --git a/qa/archives/rattle.0 b/qa/archives/rattle.0 Binary files differnew file mode 100644 index 0000000..ac2de1d --- /dev/null +++ b/qa/archives/rattle.0 diff --git a/qa/archives/rattle.index b/qa/archives/rattle.index Binary files differnew file mode 100644 index 0000000..5b1202a --- /dev/null +++ b/qa/archives/rattle.index diff --git a/qa/archives/rattle.meta b/qa/archives/rattle.meta Binary files differnew file mode 100644 index 0000000..5efe1ed --- /dev/null +++ b/qa/archives/rattle.meta diff --git a/qa/archives/snort-disks.0 b/qa/archives/snort-disks.0 Binary files differnew file mode 100644 index 0000000..e19ae7a --- /dev/null +++ b/qa/archives/snort-disks.0 diff --git a/qa/archives/snort-disks.index b/qa/archives/snort-disks.index Binary files differnew file mode 100644 index 0000000..5476757 --- /dev/null +++ b/qa/archives/snort-disks.index diff --git a/qa/archives/snort-disks.meta b/qa/archives/snort-disks.meta Binary files differnew file mode 100644 index 0000000..329c4b8 --- /dev/null +++ b/qa/archives/snort-disks.meta diff --git a/qa/archives/spotinstance.0 b/qa/archives/spotinstance.0 Binary files differnew file mode 100644 index 0000000..126a4da --- /dev/null +++ b/qa/archives/spotinstance.0 diff --git a/qa/archives/spotinstance.index b/qa/archives/spotinstance.index Binary files differnew file mode 100644 index 0000000..511936d --- /dev/null +++ b/qa/archives/spotinstance.index diff --git a/qa/archives/spotinstance.meta b/qa/archives/spotinstance.meta Binary files differnew file mode 100644 index 0000000..419445d --- /dev/null +++ b/qa/archives/spotinstance.meta diff --git a/qa/archives/viewqa1.0 b/qa/archives/viewqa1.0 Binary files differnew file mode 100644 index 0000000..430ff31 --- /dev/null +++ b/qa/archives/viewqa1.0 diff --git a/qa/archives/viewqa1.index b/qa/archives/viewqa1.index Binary files differnew file mode 100644 index 0000000..0b91381 --- /dev/null +++ b/qa/archives/viewqa1.index diff --git a/qa/archives/viewqa1.meta b/qa/archives/viewqa1.meta Binary files differnew file mode 100644 index 0000000..b613de7 --- /dev/null +++ b/qa/archives/viewqa1.meta diff --git a/qa/archives/viewqa2.0 b/qa/archives/viewqa2.0 Binary files differnew file mode 100644 index 0000000..f7c96f1 --- /dev/null +++ b/qa/archives/viewqa2.0 diff --git a/qa/archives/viewqa2.index b/qa/archives/viewqa2.index Binary files differnew file mode 100644 index 0000000..88ff8ab --- /dev/null +++ b/qa/archives/viewqa2.index diff --git a/qa/archives/viewqa2.meta b/qa/archives/viewqa2.meta Binary files differnew file mode 100644 index 0000000..f9303d8 --- /dev/null +++ b/qa/archives/viewqa2.meta diff --git a/qa/archives/viewqa3.0 b/qa/archives/viewqa3.0 Binary files differnew file mode 100644 index 0000000..d0834c2 --- /dev/null +++ b/qa/archives/viewqa3.0 diff --git a/qa/archives/viewqa3.index b/qa/archives/viewqa3.index Binary files differnew file mode 100644 index 0000000..7b2ef98 --- /dev/null +++ b/qa/archives/viewqa3.index diff --git a/qa/archives/viewqa3.meta b/qa/archives/viewqa3.meta Binary files differnew file mode 100644 index 0000000..1b747ee --- /dev/null +++ b/qa/archives/viewqa3.meta diff --git a/qa/archives/vldb-disks.0 b/qa/archives/vldb-disks.0 Binary files differnew file mode 100644 index 0000000..cd03022 --- /dev/null +++ b/qa/archives/vldb-disks.0 diff --git a/qa/archives/vldb-disks.index b/qa/archives/vldb-disks.index Binary files differnew file mode 100644 index 0000000..0ef9ff2 --- /dev/null +++ b/qa/archives/vldb-disks.index diff --git a/qa/archives/vldb-disks.meta b/qa/archives/vldb-disks.meta Binary files differnew file mode 100644 index 0000000..f4beb82 --- /dev/null +++ b/qa/archives/vldb-disks.meta |