mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix documentation for mysql processlist
- Fix code block and indentation
This commit is contained in:
parent
a8a3811b18
commit
01059cc857
1 changed files with 13 additions and 10 deletions
|
@ -1965,17 +1965,20 @@ def processlist(**connection_args):
|
|||
"SHOW FULL PROCESSLIST".
|
||||
|
||||
Returns: a list of dicts, with each dict representing a process:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
{'Command': 'Query',
|
||||
'Host': 'localhost',
|
||||
'Id': 39,
|
||||
'Info': 'SHOW FULL PROCESSLIST',
|
||||
'Rows_examined': 0,
|
||||
'Rows_read': 1,
|
||||
'Rows_sent': 0,
|
||||
'State': None,
|
||||
'Time': 0,
|
||||
'User': 'root',
|
||||
'db': 'mysql'}
|
||||
'Host': 'localhost',
|
||||
'Id': 39,
|
||||
'Info': 'SHOW FULL PROCESSLIST',
|
||||
'Rows_examined': 0,
|
||||
'Rows_read': 1,
|
||||
'Rows_sent': 0,
|
||||
'State': None,
|
||||
'Time': 0,
|
||||
'User': 'root',
|
||||
'db': 'mysql'}
|
||||
|
||||
CLI Example:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue