Home > Database > Mysql Tutorial > body text

mysql实时监控工具mytop使用介绍_MySQL

WBOY
Release: 2016-06-01 13:42:05
Original
1196 people have browsed it

bitsCN.com mysql实时监控工具mytop使用介绍 mytop类似于linux top工具,可以实时监控mysql服务器的性能信息。 安装方法
 1、安装依赖 # cpan# cpan > install DBI# cpan > install Term::ReadKey# cpan > install DBD::mysql# cpan > exit
 2、下载安装mytop cd /tmpwget http://jeremy.zawodny.com/mysql/mytop/mytop-1.6.tar.gztar xzf mytop-1.6.tar.gzcd mytop-1.6perl Makefile.PLmakemake install使用方法语法:   mytop -u -p -h -d REMOTE_USERNAME:mysql用户名PASSWORD: mysql密码MYSQL_SERVER_IP :mysql服务器ipDATABASE :需要监控的数据库名称例子: # mytop -u root -p password -h 192.168.0.2 -d centos还可以把这些参数写入文件~/.mytop,格式如下: user=你的mysql用户pass=你的mysql密码host=localhostdb=你要监控的数据库名delay=5port=3306socket=/var/lib/mysql/mysql.sockbatchmode=0header=1color=1idle=1详细的使用说明可以执行man mytop获得。   作者 朱茂海 bitsCN.com

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template