macOS / binaries /

purge

/usr/sbin/purge
Force disk cache to be purged (flushed and emptied)

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.

source: man