tldr/pages/common/mytop.md

21 lines
449 B
Markdown
Raw Normal View History

2019-01-31 18:12:12 +00:00
# mytop
> Display MySQL server performance info like `top`.
> More information: <http://jeremy.zawodny.com/mysql/mytop/mytop.html>.
2019-01-31 18:12:12 +00:00
- Start `mytop`:
2019-01-31 18:12:12 +00:00
`mytop`
- Connect with a specified username and password:
`mytop -u {{user}} -p {{password}}`
- Connect with a specified username (the user will be prompted for a password):
`mytop -u {{user}} --prompt`
- Do not show any idle (sleeping) threads:
`mytop -u {{user}} -p {{password}} --noidle`