mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-12-24 02:01:42 +08:00
Fix: README with -vvv, --grep-args, regex-list
This commit is contained in:
committed by
Sveta Smirnova
parent
5d93fbbcc0
commit
98b7a7d52a
@@ -12,7 +12,7 @@ Usage
|
|||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
pt-galera-log-explainer [--since=] [--until=] [-vvv] [--merge-by-directory] [--pxc-operator] <command> <paths ...>
|
pt-galera-log-explainer [--since=] [--until=] [-vv] [--merge-by-directory] [--pxc-operator] <command> <paths ...>
|
||||||
|
|
||||||
|
|
||||||
Commands available
|
Commands available
|
||||||
@@ -131,13 +131,11 @@ Available flags
|
|||||||
|
|
||||||
``--merge-by-directory``
|
``--merge-by-directory``
|
||||||
Instead of relying on extracted information, logs will be merged by their base directory
|
Instead of relying on extracted information, logs will be merged by their base directory
|
||||||
It is useful when logs are very sparsed and already organized by nodes.
|
It is useful when logs are very sparse and already organized by nodes.
|
||||||
|
|
||||||
``-v``, ``--verbosity``
|
``-v``, ``--verbosity``
|
||||||
``-v``: Detailed
|
``-v``: display in the timeline every mysql info the tool used
|
||||||
``-vv``: DebugMySQL, add every mysql info the tool used
|
``-vv``: internal tool debug
|
||||||
``-vvv``: internal tool debug
|
|
||||||
Default: ``-v``
|
|
||||||
|
|
||||||
``--pxc-operator``
|
``--pxc-operator``
|
||||||
Analyze logs from Percona PXC operator.
|
Analyze logs from Percona PXC operator.
|
||||||
@@ -145,16 +143,12 @@ Available flags
|
|||||||
Off by default because it negatively impacts performance for non-k8s setups.
|
Off by default because it negatively impacts performance for non-k8s setups.
|
||||||
|
|
||||||
``--exclude-regexes``
|
``--exclude-regexes``
|
||||||
Remove regexes from analysis. Use 'pt-galera-log-explainer regex-list' to have the list
|
Remove regexes from analysis. Use 'pt-galera-log-explainer regex-list | jq .' to have the list
|
||||||
|
|
||||||
``--grep-cmd``
|
``--grep-cmd``
|
||||||
grep v3 binary command path. For Darwin systems, it could need to be set to 'ggrep'
|
grep v3 binary command path. For Darwin systems, it could need to be set to 'ggrep'
|
||||||
Default: ``grep``
|
Default: ``grep``
|
||||||
|
|
||||||
``--grep-args``
|
|
||||||
grep arguments. perl regexp (-P) is necessary. -o will break the tool
|
|
||||||
Default: ``-P``
|
|
||||||
|
|
||||||
``--version``
|
``--version``
|
||||||
Show version and exit.
|
Show version and exit.
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ Usage
|
|||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
pt-galera-log-explainer [--since=] [--until=] [-vvv] [--merge-by-directory] [--pxc-operator] <command> <paths ...>
|
pt-galera-log-explainer [--since=] [--until=] [-vv] [--merge-by-directory] [--pxc-operator] <command> <paths ...>
|
||||||
|
|
||||||
|
|
||||||
Commands available
|
Commands available
|
||||||
@@ -131,13 +131,11 @@ Available flags
|
|||||||
|
|
||||||
``--merge-by-directory``
|
``--merge-by-directory``
|
||||||
Instead of relying on extracted information, logs will be merged by their base directory
|
Instead of relying on extracted information, logs will be merged by their base directory
|
||||||
It is useful when logs are very sparsed and already organized by nodes.
|
It is useful when logs are very sparse and already organized by nodes.
|
||||||
|
|
||||||
``-v``, ``--verbosity``
|
``-v``, ``--verbosity``
|
||||||
``-v``: Detailed
|
``-v``: display in the timeline every mysql info the tool used
|
||||||
``-vv``: DebugMySQL, add every mysql info the tool used
|
``-vv``: internal tool debug
|
||||||
``-vvv``: internal tool debug
|
|
||||||
Default: ``-v``
|
|
||||||
|
|
||||||
``--pxc-operator``
|
``--pxc-operator``
|
||||||
Analyze logs from Percona PXC operator.
|
Analyze logs from Percona PXC operator.
|
||||||
@@ -145,16 +143,12 @@ Available flags
|
|||||||
Off by default because it negatively impacts performance for non-k8s setups.
|
Off by default because it negatively impacts performance for non-k8s setups.
|
||||||
|
|
||||||
``--exclude-regexes``
|
``--exclude-regexes``
|
||||||
Remove regexes from analysis. Use 'pt-galera-log-explainer regex-list' to have the list
|
Remove regexes from analysis. Use 'pt-galera-log-explainer regex-list | jq .' to have the list
|
||||||
|
|
||||||
``--grep-cmd``
|
``--grep-cmd``
|
||||||
grep v3 binary command path. For Darwin systems, it could need to be set to 'ggrep'
|
grep v3 binary command path. For Darwin systems, it could need to be set to 'ggrep'
|
||||||
Default: ``grep``
|
Default: ``grep``
|
||||||
|
|
||||||
``--grep-args``
|
|
||||||
grep arguments. perl regexp (-P) is necessary. -o will break the tool
|
|
||||||
Default: ``-P``
|
|
||||||
|
|
||||||
``--version``
|
``--version``
|
||||||
Show version and exit.
|
Show version and exit.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user