+2 votes
in Operating Systems by (11.2k points)
I purchased a new VPS and want to check the disk I/O speed. What Linux command should I use?

1 Answer

+1 vote
by (16.9k points)

Try the following command:

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

Example:

[root@server ~]# dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync

16384+0 records in

16384+0 records out

1073741824 bytes (1.1 GB) copied, 1.8663 s, 575 MB/s

...