Amoeba for MySQL Benchmark使用方法

通过-?选项可以了解足够的使用帮助信息:

% ./benchmark -?
benchmark [-option value/--option=value]
    -d,--debug
        show the interaction with the server-side information

    -P,--port=value [required]
        server port

    -h,--host=value [required]
        server host

    -c,--conn=value [required]
        The number of concurrent connections

    -n,--total=value [required]
        total requests

    -t,--timeout=value
        query timeout, default value=-1 

    -C,--context=value
        Context xml File

    -f,--file=value [required]
        request xml File

    -l,--log4j=value
        log4j level[debug,info,warn,error]

    -?,--help
        Show this help message

    -u,--user=value [required]
        mysql user name

    -p,--password=value
        mysql password

    -s,--sql=value
        query sql