sysbench icon indicating copy to clipboard operation
sysbench copied to clipboard

'sysbench memory help' does not say what is the required test argument

Open findurance opened this issue 5 years ago • 1 comments
trafficstars

Sysbench version 1.0.19

When executing the following sequence, no information about the memory-test argument is provided. Only the available options are listed.

~ # sysbench memory
sysbench 1.0.19 (using system LuaJIT 2.1.2)

The 'memory' test requires a command argument. See 'sysbench memory help'
~ # sysbench memory help
sysbench 1.0.19 (using system LuaJIT 2.1.2)

memory options:
  --memory-block-size=SIZE    size of memory block for test [1K]
  --memory-total-size=SIZE    total size of data to transfer [100G]
  --memory-scope=STRING       memory access scope {global,local} [global]
  --memory-hugetlb[=on|off]   allocate memory from HugeTLB pool [off]
  --memory-oper=STRING        type of memory operations {read, write, none} [write]
  --memory-access-mode=STRING memory access mode {seq,rnd} [seq]

~ # 

findurance avatar Apr 06 '20 17:04 findurance

The possible commands are described in the output of sysbench --help

Usage:
  sysbench [options]... [testname] [command]

Commands implemented by most tests: prepare run cleanup help
...

The one you want is probably run

Lab-8916100448256 avatar Jan 10 '21 14:01 Lab-8916100448256