Measure latency on /tmp using 10 requests of 1 megabyte each

ioping

ioping -c 10 -s 1M /tmp

click the source code to copy install ioping on any operating system with command-not-found.com