Flush all pending write operations on all disks
Flush all pending write operations on a single file to disk
Flush writes and drop filesystem caches (Linux only)
sync; echo 3 | sudo tee /proc/sys/vm/drop_cachesFlush disk writes and attempts to clear inactive memory and filesystem caches (macOS only)