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