fio

Flexible I/O tester for benchmarking and stress testing storage devices

brewmacoslinux
Try with needOr install directly
Source

About

I/O benchmark and stress test

Commands

fio

Examples

Run a simple sequential read benchmark on a device$ fio --name=seqread --ioengine=libaio --rw=read --bs=4k --size=1G --filename=/dev/sda
Perform random write test with multiple jobs to stress test$ fio --name=randwrite --ioengine=posixaio --rw=randwrite --bs=8k --iodepth=16 --numjobs=4 --size=500M --runtime=60
Run a mixed read/write workload from a job file$ fio jobfile.fio