MySQL monitoring tool-orztop

Source: Internet
Author: User
Tags install perl

Install ORZDBA First, Link: http://blog.itpub.net/28939273/viewspace-1875895/

To install a dependent package:
[email protected] servers]# Yum install perl-termreadkey.x86_64

Otherwise the error is as follows:
[Email protected] servers]#/orztop-u=root-p= ' Yoon '-s=/export/data/mysql/tmp/mysql.sock
Can ' t locate term/readkey.pm in @INC (@INC contains:/usr/local/lib64/perl5/usr/local/share/perl5/usr/lib64/perl5/ Vendor_perl/usr/share/perl5/vendor_perl/usr/lib64/perl5/usr/share/perl5.) At./orztop Line 14.
BEGIN failed--compilation aborted at./orztop Line 14.

[email protected] servers]# Yum search ReadKey
Yum Install perl-termreadkey.x86_64

[Email protected] servers]#./orztop-help
==========================================================================================
Info:
Created by [email protected]
Usage:
Command Line Options:


-help Print help Info.
-H,--host HOSTNAME/IP to use for MySQL connection.
-u,--user user to use for MySQL connection.
-P,--pwd Password to use for MySQL connection.
-P,--Port port to use for MySQL connection (default 3306).


-s,--socket socket to use for MySQL connection.


-T Time (second) Interval.


==========================================================================================

[Email protected] servers]#/orztop-u=root-p= ' Yoon '-s=/export/data/mysql/tmp/mysql.sock


Information also includes the database of Insert/update/delete/select per second, logical reading, hit rate, the current active thread, and so on, you can see the current pressure of the database;
When your instance has a performance bottleneck, you might want to take a look at it and crawl the slow SQL that is currently running

MySQL monitoring tool-orztop

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.