Planning for Memory and Swap Capacity

Memory is not an easy resource to plan for, as it can be used in so many different ways and affects so many other subsystems. The most important thing you can do to enhance memory performance is to buy more memory! RAM is a scarce resource on most systems, and avoiding degraded performance from paging and swapping should be your number one goal. Following are some planning techniques that you can use to determine future capacity needs.

Monitor Process Memory Usage

Use top, ps, and pmap to monitor memory usage for the applications running on your systems. You should become familiar with each process's memory utilization habits and immediately recognize a problem when a monitor reveals abnormal data. For example, ...

Get Unix® System Management Primer Plus 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.