Name

dynamic_pager

Syntax

dynamic_pager [-F filename] [-H hire_point]  [-L layoff_point] [-P priority] 
[-S file_size]

Description

Manages virtual memory swap files. This tool is started from /etc/rc during the boot process.

Options/Usage

-F

Specifies the base absolute pathname for swap files. Swap filenames consist of this base and a whole number suffix, starting at 0. The default is /private/var/vm/swapfile.

-H

Creates an additional swap file when free swap space drops below the hire_point in bytes. The default is 0, which disables the use of this swap space.

-L

Attempts to consolidate memory and remove a swap file when free swap space rises above the layoff_point in bytes. The layoff_point must be set higher than the sum of the swap file size and the hire_point, unless it is set to 0 (the default), which disables layoffs.

-P

Determines the priority of this swap space. The default is 0.

-S

Determines the size of swap files created, in bytes. The default is 20000000.

Location

/sbin

Operating System

Darwin

Get Mac OS X for Unix Geeks 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.