← Back to team overview

maria-developers team mailing list archive

Re: Rev 4: Added wrapper scripts for automated runs of sql-bench

 

Hi, Hakan!

On Dec 29, Hakan Kuecuekyilmaz wrote:
> At file:///Users/hakan/work/monty_program/mariadb-tools/
> 
> ------------------------------------------------------------
> revno: 4
> revision-id: hakan@xxxxxxxxxxxx-20091229134253-zdbgd0ym9m7cokii
> parent: knielsen@xxxxxxxxxxxxxxx-20091218103524-nof6wfpuku60r9rn
> committer: Hakan Kuecuekyilmaz <hakan@xxxxxxxxxxxx>
> branch nick: mariadb-tools
> timestamp: Tue 2009-12-29 14:42:53 +0100
> message:
>   Added wrapper scripts for automated runs of sql-bench.

> === added directory 'sql-bench'
> === added file 'sql-bench/run-sql-bench.sh'
> --- a/sql-bench/run-sql-bench.sh	1970-01-01 00:00:00 +0000
> +++ b/sql-bench/run-sql-bench.sh	2009-12-29 13:42:53 +0000
> @@ -0,0 +1,236 @@
> +#!/bin/bash
> +#
> +# Run sql-bench for every given configuration file
> +# we find in the directory $SQL_BENCH_CONFIGS.
> +#
> +# Note: Do not run this script with root privileges.
> +#   We use killall -9, which can cause severe side effects!

You can use

  killall -u `whoami`

not perfect, but still much safer.

Regards / Mit vielen Grüßen,
Sergei

-- 
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /   Sergei Golubchik <serg@xxxxxxx>
 / /|_/ / // /\ \/ /_/ / /__  Principal Software Engineer/Server Architect
/_/  /_/\_, /___/\___\_\___/  Sun Microsystems GmbH, HRB München 161028
       <___/                  Sonnenallee 1, 85551 Kirchheim-Heimstetten
Geschäftsführer: Thomas Schroeder, Wolfgang Engels, Wolf Frenkel
Vorsitzender des Aufsichtsrates: Martin Häring



Follow ups

References