Sponsored Content
Top Forums Web Development MySQL Tuning Tools with mysqltuner.pl and tuning-primer.sh Post 302222242 by gain on Wednesday 6th of August 2008 10:49:33 AM
Old 08-06-2008
Question Memory Usage do not match

Hi!

I have been using both these tools for sometime now. However, if you look at both outputs you will see that the memory usage returned by tuning_primer.sh is less than that of mysqltuner.pl. Smilie

Now, which of these two are telling the correct one?

Any ideas?
 
passenger-memory-stats(8)				      Administration Commands					 passenger-memory-stats(8)

NAME
passenger-memory-stats - reports a snapshot of the Apache and Phusion Passenger memory statistcs SYNOPSIS
passenger-memory-stats DESCRIPTION
passenger-memory-stats allows you to easily analyze the real memory usage of Phusion Passenger and Apache. Process inspection tools such as ps and top are useful, but they rarely show the correct memory usage. The real memory usage is usually lower than what ps and top report. There are many technical reasons why this is so, but an explanation is beyond the scope of this page. We refer the interested reader to operating systems literature about virtual memory and copy-on-write. When you run this tool the Private or private dirty RSS field shows the real memory usage of processes. ENVIRONMENT VARIABLES
HTTPD The full filename to the Apache executable. By default, Passenger will attempt to autodetect the Apache executable. If autodetection fails for whatever reason, then Apache processes will not be shown in the memory statistics. In that case, you may manually specify the location to the Apache executable using this environment variable. SEE ALSO
passenger-status(8), ps(1), top(1), User guide at http://www.modrails.com/documentation.html AUTHOR
Phusion Passenger is written by Phusion (http://www.phusion.nl) "Phusion" and "Phusion Passenger" are trademarks of Hongli Lai & Ninh Bui. This manual page was written by Neil Wilson <neil@brightbox.co.uk> for the Ubuntu project (but may be used by others). Phusion Passenger 2.0 passenger-memory-stats(8)
All times are GMT -4. The time now is 08:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy