Show the process list of a mysql server

``` sqleton run examples/show-processlist.sql ```

Sections

Terminology & Glossary
📖 Documentation
Navigation
35 sectionsv0.1
📄 Show the process list of a mysql server — glaze help mysql-show-processlist
mysql-show-processlist

Show the process list of a mysql server

``` sqleton run examples/show-processlist.sql ```

Examplemysqlrun

You can use sqleton to run show processlist on a mysql server, and use the full set of glazed flags.

❯ sqleton run examples/show-processlist.sql --fields User,Host,Command,Info
+-----------------+------------------+---------+------------------+
| User            | Host             | Command | Info             |
+-----------------+------------------+---------+------------------+
| event_scheduler | localhost        | Daemon  | <nil>            |
| ttc             | 172.20.0.7:41054 | Sleep   | <nil>            |
| ttc             | 172.20.0.7:41058 | Sleep   | <nil>            |
| root            | 172.20.0.1:61900 | Query   | SHOW PROCESSLIST |
+-----------------+------------------+---------+------------------+
❯ sqleton run examples/show-processlist.sql --select Id
4
29
30
549