How fast is my Linux server’s hard drive (I/O)?

There is a simple command that will perform a test on your hard drive in Linux to tell you how fast it is:

dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync

Results may vary depending on the system load at the time of the test.