Chapter 6. Memory
In this chapter we discuss the major tools used for memory analysis. We detail the methodology behind the use of the tools and the interpretation of the metrics.
Tools for Memory Analysis
Different tools are used for different kinds of memory analyses. Following is a prioritized list of tools for analyzing the various types of problems:
Quick memory health check. First measure the amount of free memory with the
vmstat
command. Then examine thesr
column of thevmstat
output to check whether the system is scanning. If the system is short of memory, you can obtain high-level usage details with the MDB::memstat
-d
command.Paging activity. If the system is scanning, use the
-p
option ofvmstat
to see the types of paging. You would typically ...
Get Solaris™ Performance and Tools: DTrace and MDB Techniques for Solaris 10 and OpenSolaris now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.