Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inadequate usage messages #535

Open
bulletmark opened this issue Aug 11, 2024 · 0 comments
Open

Inadequate usage messages #535

bulletmark opened this issue Aug 11, 2024 · 0 comments

Comments

@bulletmark
Copy link

I thought I'd try this tool to benchmark my cpu:

$ sysbench --version
sysbench 1.0.20

$ man sysbench
No manual entry for sysbench

$ sysbench
sysbench 1.0.20 (using system LuaJIT 2.1.1720049189)

Reading the script from the standard input:

^C

So I guess I need to specify --help to see how to run it:

$ sysbench --help
Usage:
  sysbench [options]... [testname] [command]

 ...

Compiled-in tests:
  fileio - File I/O test
  cpu - CPU performance test
  memory - Memory functions speed test
  threads - Threads subsystem performance test
  mutex - Mutex performance test

See 'sysbench <testname> help' for a list of options for each test.

OK, there's a cpu command:

$ sysbench cpu
sysbench 1.0.20 (using system LuaJIT 2.1.1720049189)

The 'cpu' test requires a command argument. See 'sysbench cpu help'

OK, need to add help to see how to run it:

$ sysbench cpu help
sysbench 1.0.20 (using system LuaJIT 2.1.1720049189)

cpu options:
  --cpu-max-prime=N upper limit for primes generator [10000]

But still nothing stated on how to run it? I.e what are the sub-commands? Also, the other commands seem to be the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant