$ time (dd if=/dev/zero of=zerofile bs=1M count=500;sync);rm zerofile ExplanationCreates a 500MB blank file and times how long it takes to finish writing the entire thing to disk (sync)
LimitationsWorks with Bash; not tested in other environments |