Skip to content

missing one dash- redis-benchmark usage #1996

Closed

Description

@junjiemars

version: 2.8.13
run redis-benchmark --help:
Usage: redis-benchmark [-h ] [-p ] [-c ] [-n <requests]>
k ]

-h Server hostname (default 127.0.0.1)
-p Server port (default 6379)
-s Server socket (overrides host and port)
-c Number of parallel connections (default 50)
-n Total number of requests (default 10000)
-d Data size of SET/GET value in bytes (default 2)
-dbnum SELECT the specified db number (default 0)

The above -dbnum should be --dbum.

Activity

  1. chooper commented on Dec 16, 2014

    @chooper
    Contributor

    Looks like this was fixed, can probably close it 👍

  2. junjiemars commented on Dec 16, 2014

    @junjiemars
    Author

    It's ok.

  3. justdoit0823 commented on Nov 12, 2016

    @justdoit0823

    @chooper , this wrong spell is still in unstable branch redis-bench command usage outout, as the fllowing code:

    else if (!strcmp(argv[i],"--dbnum"))

    -dbnum SELECT the specified db number (default 0)\n

    This makes new user confused, and don't know what's the real.

  4. added 3 commits that reference this issue on Jul 24, 2017
  5. added 2 commits that reference this issue on Aug 20, 2017
  6. added 2 commits that reference this issue on Jan 13, 2018
  7. added a commit that references this issue on Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions