• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How To Install Mtop (MySQL Database Server Monitoring)

{{postValue.id}}

To Install Mtop (MySQL Database Server Monitoring) in RHEL/CentOS 6/5, Fedora 17-12

In this article, we will learn how to install Mtop (MySQL Database Server Monitoring) in RHEL/CentOS 6/5, Fedora 17-12. First, enable RPMForge repository under your Linux machine to download and install latest version of MTOP program and Fedora user’ s need not enable any repository under Fedora box.

To Install RPMForge

Select either of the following links based on your Linux architecture, to enable RPMforge repository under your Linux box.

On RHEL/CentOS 6 32-Bit OS

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.i686.rpm

On RHEL/CentOS 6 64-Bit OS

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

To Install RPMForge on RHEL/CentOS 5

On RHEL/CentOS 5 32-Bit OS

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
rpm -Uvh rpmforge-release-0.5.2-2.el5.rf.i386.rpm

On RHEL/CentOS 5 64-Bit OS

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
rpm -Uvh rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm

To Install RPMForge on 64bit /CentOS/RHEL 6

[root@linuxhelp ~]# wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
--2016-03-26 17:54:42-- http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
Resolving packages.sw.be... 78.46.17.228
Connecting to packages.sw.be|78.46.17.228|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm [following]
--2016-03-26 17:54:42-- http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
Resolving pkgs.repoforge.org... 78.46.17.228
.
.
.
HTTP request sent, awaiting response... 200 OK
Length: 12700 (12K) [application/x-redhat-package-manager]
Saving to: “ rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm” 

100%[================================================================================> ] 12,700 --.-K/s in 0.01s

2016-03-26 17:54:44 (856 KB/s) - “ rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm”  saved [12700/12700]

[root@linuxhelp ~]# rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
Preparing... ########################################### [100%]
package rpmforge-release-0.5.2-2.el6.rf.x86_64 is installed

To Import RPMForge Repository Key in RHEL/CentOS 6/5

[root@linuxhelp ~]# wget http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
[root@linuxhelp ~]# rpm --import RPM-GPG-KEY.dag.txt

To Install Mtop in RHEL/CentOS 6/5 and Fedora 17-12

After installing and enabling RPMForge repository, install MTOP using following command.

[root@linuxhelp ~]# yum install mtop
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: centos.excellmedia.net
* extras: centos.excellmedia.net
* rpmforge: ftp.heanet.ie
* updates: centos.excellmedia.net
Resolving Dependencies
.
.
.
.
Running Transaction
Installing : mtop-0.6.6-1.2.el6.rf.noarch 1/1
Verifying : mtop-0.6.6-1.2.el6.rf.noarch 1/1
Installed:
mtop.noarch 0:0.6.6-1.2.el6.rf

Complete!

Now the installation of Mtop is completed.

To start Mtop program

Use the following command to connect to your MySQLServer.

[root@linuxhelp ~]# mysql -u root -p

Next, create separate user called mtop and grant privileges under your MySQL server. To perform this task run the following command in MySQL shell.

mysql>  grant super, reload, process on *.* to mtop 
Query OK, 0 rows affected (0.00 sec)

mysql>  grant super, reload, process on *.* to mtop@localhost 
Query OK, 0 rows affected (0.00 sec)

mysql>  flush privileges 
Query OK, 0 rows affected (0.00 sec)
mysql>  q
Bye

To Run Mtop in RHEL/CentOS 6/5

Use the following command to start the Mtop program.

[root@linuxhelp ~]# mtop

start_mtop

To Monitor Remote MySQL Server using Mtop

Run the following command to monitor the remote MySQL Server.

[root@linuxhelp ~]# mtop &ndash host=remotehost &ndash dbuser=username &ndash password=password

mtop_login

Tags:
lucas
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

how to install mtop on yum centos 7?

A

use the following command to install the mtop command
yum install mtop

Q

how to download the rpm package for mtop in centos?

A

use the following link to download the rpm package
# wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

Q

how to upgrade the mtop package to latest version in centos?

A

use the following command to install the latest version of mtop in centos
# wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
# rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

Q

why mtop command is used for linux?

A

It is a open source monitoring tool to monitor the datbase performance of mysql server

Q

how to open the mysql database with the user password?

A

you can use the following command to open mysql with password
# mysql -u root -p

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Owen ?
How to add SSH key to my Gitlab account

I need to add the SSH key in my gitlab account. How to do so ????

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.