mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
610 B
Plaintext
26 lines
610 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# mytop
|
|
|
|
> Display MySQL server performance info like `top`.
|
|
> More information: <https://jeremy.zawodny.com/mysql/mytop/mytop.html>.
|
|
|
|
- Start `mytop`:
|
|
|
|
`mytop`
|
|
|
|
- Connect with a specified username and password:
|
|
|
|
`mytop {{[-u|-user]}} {{user}} {{[-p|-password]}} {{password}}`
|
|
|
|
- Connect with a specified username (the user will be prompted for a password):
|
|
|
|
`mytop {{[-u|-user]}} {{user}} -prompt`
|
|
|
|
- Do not show any idle (sleeping) threads:
|
|
|
|
`mytop {{[-u|-user]}} {{user}} {{[-p|-password]}} {{password}} --noidle`
|