purge(8)

purge8

Force disk cache to be purged (flushed and emptied)

Usage

purge

Overview

Purge can be used to approximate initial boot conditions with a cold disk buffer cache for performance analysis. It does not affect anonymous memory that has been allocated through malloc, vm_allocate, etc.

Releases

85 releases since OS X 10.9; the text changed 1 time.

  1. 10.9–11.5
  2. 12.0.1–26.5

From system_cmds 1042.120.1 in macOS 26.5. Parsed by carta from the page's mdoc source.