HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

mytop — Display MySQL server performance info like `top`. More information: <https://jeremy.zawodny.com/mysq

Submitted by: @import:tldr-pages··
0
Viewed 0 times
servercommandinfomytopclimysqlperformancedisplay

Problem

How to use the mytop command: Display MySQL server performance info like top. More information: <https://jeremy.zawodny.com/mysql/mytop/mytop.html>.

Solution

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

Code Snippets

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

Context

tldr-pages: common/mytop

Revisions (0)

No revisions yet.