PURGE(8)
π PURGE(8) β the glow-up edition β¨
okay so real talk, bestie: this is purge, and it lives in section 8 of the System Manager's Manual (that's the admin/command zone, iykyk π«Ά). tiny page, but it serves.
πΈ NAME πΈ
purge β the command that forces your disk cache to be purged, which means flushed and emptied, both things, no half-measures π
β¨ SYNOPSIS β¨
purge
that's it. no flags. no arguments. just vibes and one word π
π¦ DESCRIPTION π¦
okay so here's the tea: purge can be used to approximate initial boot conditions with a cold disk buffer cache, which is genuinely so useful for performance analysis π₯. like, you want your benchmarks to start from a clean slate the way a fresh boot would? this is the girl for that job.
the way that it does not touch anonymous memory that has been allocated through malloc, vm_allocate, etc. β yeah, that memory stays exactly where it is, untouched, unbothered, main character energy π. so don't come for it expecting a full memory wipe, because it is specifically about the disk buffer cache. periodt.
ngl, if you were hoping this clears everything, it doesn't β anonymous memory allocated bymalloc,vm_allocate, etc. is off the table π.
π SEE ALSO π
and that's the whole page, bestie π no cap, purge is short and iconic.
π cute sign-off time: this page is from macOS, dated September 20, 2005, and it's the PURGE(8) page from the System Manager's Manual. she's been slaying since '05, and honestly? still got it πβ¨
π¦ where this page comes from
- nixpkgs unstable: system_cmds 1042.100.6.0.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms