首页 分享 sysbench 1.0.17 使用说明

sysbench 1.0.17 使用说明

来源:花匠小妙招 时间:2024-12-07 16:52

sysbench 1.0.17 (using bundled LuaJIT 2.1.0-beta2)
sysbench 1.0.17 (通过绑定LuaJIT 2.1.0-beta2)
Usage:
  sysbench [options]... [testname] [command]

Commands implemented by most tests: prepare run cleanup help
大多数测试通过:prepare run cleanup help 命令实现
```
General options:
通用选项:
  --threads=N                     number of threads to use [1]
  --threads=N                     线程数的使用
  --events=N                      limit for total number of events [0]
   --events=N                    事件总数的限制数
  --time=N                        limit for total execution time in seconds [10]
  --time=N                        总执行时间的限制(单位是秒)
  --forced-shutdown=STRING        number of seconds to wait after the --time limit before forcing shutdown, or 'off' to disable [off]
  --thread-stack-size=SIZE        size of stack per thread [64K]
  --rate=N                        average transactions rate. 0 for unlimited rate [0]
   --rate=N                       平均事务速率。0表示不限速 [0]
  --report-interval=N             periodically report intermediate statistics with a specified interval in seconds. 0 disables intermediate reports [0]
   --report-interval=N       以秒为单位定期报告具有指定间隔的统计信息。0禁用中间报告
  --report-checkpoints=[LIST,...] dump full statistics and reset all counters at specified points in time. The argument is a list of comma-separated values representing the amount of time in seconds elapsed from start of test when report checkpoint(s) must be performed. Report checkpoints are off by default. []
  --debug[=on|off]                print more debugging info [off]
  --validate[=on|off]             perform validation checks where possible [off]
  --help[=on|off]                 print help and exit [off]
  --version[=on|off]              print version and exit [off]
  --config-file=FILENAME          File containing command line options
  --tx-rate=N                     deprecated alias for --rate [0]
  --max-requests=N                deprecated alias for --events [0]
  --max-time=N                    deprecated alias for --time [0]
  --num-threads=N                 deprecated alias for --threads [1]

Pseudo-Random Numbers Generator options:
伪随机数生成器选项:
  --rand-type=STRING random numbers distribution {uniform,gaussian,special,pareto} [special]
   --rand-type=字符串随机数分布 {uniform,gaussian,special,pareto} [special]
  --rand-spec-iter=N number of iterations used for numbers generation [12]
  --rand-spec-iter=N 用于生成数字的迭代次数[12]
  --rand-spec-pct=N  percentage of values to be treated as 'special' (for special distribution) [1]
  --rand-spec-res=N  percentage of 'special' values to use (for special distribution) [75]
  --rand-seed=N      seed for random number generator. When 0, the current time is used as a RNG seed. [0]
  --rand-pareto-h=N  parameter h for pareto distribution [0.2]

Log options:
  --verbosity=N verbosity level {5 - debug, 0 - only critical messages} [3]

  --percentile=N       percentile to calculate in latency statistics (1-100). Use the special value of 0 to disable percentile calculations [95]
  --percentile=N        在延迟统计中计算百分比(1-100)。特殊值0表示禁用百分位数计算
  --histogram[=on|off] print latency histogram in report [off]

General database options:

  --db-driver=STRING  specifies database driver to use ('help' to get list of available drivers) [mysql]
  --db-ps-mode=STRING prepared statements usage mode {auto, disable} [auto]
  --db-debug[=on|off] print database-specific debug information [off]


Compiled-in database drivers:
  mysql - MySQL driver
  pgsql - PostgreSQL driver

mysql options:
  --mysql-host=[LIST,...]          MySQL server host [localhost]
  --mysql-port=[LIST,...]          MySQL server port [3306]
  --mysql-socket=[LIST,...]        MySQL socket
  --mysql-user=STRING              MySQL user [sbtest]
  --mysql-password=STRING          MySQL password []
  --mysql-db=STRING                MySQL database name [sbtest]
  --mysql-ssl[=on|off]             use SSL connections, if available in the client library [off]
  --mysql-ssl-cipher=STRING       在客户端库如果可能对SSL连接使用特定的密码[]
  --mysql-compression[=on|off]     use compression, if available in the client library [off]
  --mysql-debug[=on|off]           trace all client library calls [off]
  --mysql-debug[=on|off]           跟踪所有的客户端库调用[off]
  --mysql-ignore-errors=[LIST,...] list of errors to ignore, or "all" [1213,1020,1205]
   --mysql-ignore-errors=[LIST,...] 忽略的错误列表,或是“all"[1213,1020,1205]
  --mysql-dry-run[=on|off]         Dry run, pretend that all MySQL client API calls are successful without executing them [off]
   --mysql-dry-run[=on|off]        试运行,假设所有mysql客户机api调用都成功,而不执行它们[off]

pgsql options:
  --pgsql-host=STRING     PostgreSQL server host [localhost]
  --pgsql-port=N          PostgreSQL server port [5432]
  --pgsql-user=STRING     PostgreSQL user [sbtest]
  --pgsql-password=STRING PostgreSQL password []
  --pgsql-db=STRING       PostgreSQL database name [sbtest]

Compiled-in tests:
  fileio - File I/O test
   fileio - 文件 I/O 测试
  cpu - CPU performance test
  cpu - CPU性能测试
  memory - Memory functions speed test
   memory - 内存功能速度测试
  threads - Threads subsystem performance test
   threads - 线程子系统性能测试
  mutex - Mutex performance test
  mutex - 互斥性能测试
```
See 'sysbench <testname> help' for a list of options for each test.
 

相关知识

插花用具及使用说明
水稻雄花杀灭剂配方及使用说明
草甘膦除草剂使用说明
礼品卡使用说明
使用说明花店vip会员卡
智能收银台V3使用说明
花呗了解如何使用 花呗使用说明
插花用具及使用说明.ppt
佳能照相机使用说明 轻松Hold住任何姿势【图解】
花精部落复方精油可以私处涂抹吗 花精部落复方精油使用说明

网址: sysbench 1.0.17 使用说明 https://www.huajiangbk.com/newsview946880.html

所属分类:花卉
上一篇: 成绩
下一篇: 十一国庆节大连旅游>>十一到大连

推荐分享