Introduction

The commands in this section are your tools for monitoring the physical resources (disk space, swap space, memory) and performance of your system.

Frequently, an executing program is too large for the entire program to be contained in your system RAM. In such a case, the system writes a portion of the program that is not currently executing out to disk temporarily. This process is known as paging, because the programs are broken up into units called pages. When an executing process needs a page not currently stored in the RAM, that is a page fault. Lots of page faults are bad; they can slow the system to a crawl. The portion of disk space used for paging is called the swap partition.

Disk space is cheap. Don't skimp on the size of ...

Get Linux® Desk Reference, Second Edition 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.