mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-18 09:43:09 +00:00
Reformatting list of options
This commit is contained in:
@@ -28,34 +28,27 @@ 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``.
|
||||||
|
|
||||||
@@ -63,7 +56,6 @@ Options
|
|||||||
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.
|
||||||
|
|
||||||
@@ -73,12 +65,10 @@ Options
|
|||||||
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
|
||||||
|
@@ -24,13 +24,11 @@ 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.
|
||||||
|
|
||||||
@@ -40,7 +38,6 @@ Options
|
|||||||
``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.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user