mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-12-19 01:09:21 +08:00
Reformatting list of options again
This commit is contained in:
@@ -27,49 +27,49 @@ By default, the results are sorted by ascending query count.
|
|||||||
Options
|
Options
|
||||||
-------
|
-------
|
||||||
|
|
||||||
-?, --help
|
``-?``, ``--help``
|
||||||
Show help and exit
|
Show help and exit
|
||||||
|
|
||||||
-a, --authenticationDatabase
|
``-a``, ``--authenticationDatabase``
|
||||||
Specifies the database used to establish credentials and privileges
|
Specifies the database used to establish credentials and privileges
|
||||||
with a MongoDB server.
|
with a MongoDB server.
|
||||||
By default, the ``admin`` database is used.
|
By default, the ``admin`` database is used.
|
||||||
|
|
||||||
-c, --no-version-check
|
``-c``, ``--no-version-check``
|
||||||
Don't check for updates
|
Don't check for updates
|
||||||
|
|
||||||
-d, --database
|
``-d``, ``--database``
|
||||||
Specifies which database to profile
|
Specifies which database to profile
|
||||||
|
|
||||||
-l, --log-level
|
``-l``, ``--log-level``
|
||||||
Specifies the log level:
|
Specifies the log level:
|
||||||
``panic``, ``fatal``, ``error``, ``warn``, ``info``, ``debug error``
|
``panic``, ``fatal``, ``error``, ``warn``, ``info``, ``debug error``
|
||||||
|
|
||||||
-n, --limit
|
``-n``, ``--limit``
|
||||||
Limits the number of queries to show
|
Limits the number of queries to show
|
||||||
|
|
||||||
-o, --order-by
|
``-o``, ``--order-by``
|
||||||
Specifies the sorting order using fields:
|
Specifies the sorting order using fields:
|
||||||
``count``, ``ratio``, ``query-time``, ``docs-scanned``, ``docs-returned``.
|
``count``, ``ratio``, ``query-time``, ``docs-scanned``, ``docs-returned``.
|
||||||
|
|
||||||
Adding a hypen (``-``) in front of a field denotes reverse order.
|
Adding a hypen (``-``) in front of a field denotes reverse order.
|
||||||
For example: ``--order-by="count,-ratio"``.
|
For example: ``--order-by="count,-ratio"``.
|
||||||
|
|
||||||
-p, --password
|
``-p``, ``--password``
|
||||||
Specifies the password to use when connecting to a server
|
Specifies the password to use when connecting to a server
|
||||||
with authentication enabled.
|
with authentication enabled.
|
||||||
|
|
||||||
Do not add a space between the option and its value: ``-p<password>``.
|
Do not add a space between the option and its value: ``-p<password>``.
|
||||||
|
|
||||||
If you specify the option without any value,
|
If you specify the option without any value,
|
||||||
you will be prompted for the password.
|
you will be prompted for the password.
|
||||||
|
|
||||||
-u, --user
|
``-u``, ``--user``
|
||||||
Specifies the user name for connecting to a server
|
Specifies the user name for connecting to a server
|
||||||
with authentication enabled.
|
with authentication enabled.
|
||||||
|
|
||||||
-v, --version
|
``-v``, ``--version``
|
||||||
Show version and exit
|
Show version and exit
|
||||||
|
|
||||||
Output Example
|
Output Example
|
||||||
==============
|
==============
|
||||||
|
|||||||
@@ -23,23 +23,23 @@ by running administration commands and formatting the output.
|
|||||||
Options
|
Options
|
||||||
-------
|
-------
|
||||||
|
|
||||||
-a, --auth-db
|
``-a``, ``--auth-db``
|
||||||
Specifies the database used to establish credentials and privileges
|
Specifies the database used to establish credentials and privileges
|
||||||
with a MongoDB server.
|
with a MongoDB server.
|
||||||
By default, the ``admin`` database is used.
|
By default, the ``admin`` database is used.
|
||||||
|
|
||||||
-p, --password
|
``-p``, ``--password``
|
||||||
Specifies the password to use when connecting to a server
|
Specifies the password to use when connecting to a server
|
||||||
with authentication enabled.
|
with authentication enabled.
|
||||||
|
|
||||||
Do not add a space between the option and its value: ``-p<password>``.
|
Do not add a space between the option and its value: ``-p<password>``.
|
||||||
|
|
||||||
If you specify the option without any value,
|
If you specify the option without any value,
|
||||||
``pt-mongodb-summary`` will ask for password interactively.
|
``pt-mongodb-summary`` will ask for password interactively.
|
||||||
|
|
||||||
-u, --user
|
``-u``, ``--user``
|
||||||
Specifies the user name for connecting to a server
|
Specifies the user name for connecting to a server
|
||||||
with authentication enabled.
|
with authentication enabled.
|
||||||
|
|
||||||
Output Example
|
Output Example
|
||||||
==============
|
==============
|
||||||
|
|||||||
Reference in New Issue
Block a user