LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-03-2010, 10:50 AM   #1
Zeno McDohl
Member
 
Registered: Apr 2005
Location: Saratoga, NY
Distribution: Slackware
Posts: 322

Rep: Reputation: 30
MySQL: examine load, monitor


I notice the MySQL process is typically one of the top processes and I would like to examine it to see what databases/queries are the main cause of this.

What are some tools I can use to do this? I did a Google and found some stuff like mtop but they are outdated and don't support MySQL 5.x
 
Old 02-03-2010, 11:00 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by Zeno McDohl View Post
I notice the MySQL process is typically one of the top processes and I would like to examine it to see what databases/queries are the main cause of this.

What are some tools I can use to do this? I did a Google and found some stuff like mtop but they are outdated and don't support MySQL 5.x
The MySQL site has many. MySQLadmin is one I use, but there are others as well.
 
Old 02-03-2010, 01:30 PM   #3
Zeno McDohl
Member
 
Registered: Apr 2005
Location: Saratoga, NY
Distribution: Slackware
Posts: 322

Original Poster
Rep: Reputation: 30
I looked at the MySQL site but it seems like the stuff seems to be for Enterprise edition, and I'm looking for something free.

The only thing I see in MySQLadmin that would be useful to me is proc stat, but even that hardly shows anything because typically the queries don't last long enough to show up there.
 
Old 02-03-2010, 06:38 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
show processlist

and friends from http://dev.mysql.com/doc/refman/5.0/en/show.html eg http://dev.mysql.com/doc/refman/5.0/...og-events.html & http://dev.mysql.com/doc/refman/5.0/en/mysqlbinlog.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mdadm --examine.. have no clue ufmale Linux - Server 2 08-21-2009 09:07 AM
LXer: How To Set Up A Load-Balanced MySQL Cluster With MySQL 5.1 LXer Syndicated Linux News 0 06-17-2008 02:20 PM
examine my lm_sensors output JustinHoMi Linux - Software 5 05-01-2007 08:24 PM
examine memory with gdb Ephracis Programming 2 05-31-2005 06:30 AM
how to examine core file? iclinux Linux - Newbie 1 01-19-2005 11:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration