Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Performance Monitor on Windows2003

Status
Not open for further replies.

karche168

Technical User
Jan 7, 2004
12
US
How do I monitor the mysql performance on Windows 2003?
I know I can use perfmon to look at CPU, Memory, other than that how can I know how many active transcation, transaction/sec, memory usage for mysql, etc

Thanks
 
For low-level status, try
show status;

For high-level status, check out
mysqladmin -u root -p proc stat

And for MySQL memory usage, you can use Task Manager.
 
is there a way to see the pattern means keeping the history for review? Thanks
 
You can use Windows "Scheduled Tasks" manager to run a
DOS shell script to save the results of 'show status'
or mysqladmin into a text file.

@echo off
set filepath=c:\mysql\data\log.txt
now >> %filepath%
mysql -u root --password=mypassword --database=mydatabase -b < test.dat >> %filepath%


I'm not familiar with any programs that do this for you
automatically.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top