Thursday, May 17, 2012

Testing DD to write file to disk


Testing DD to write file to disk.

time sh -c "dd if=/dev/zero of=ddfile1 bs=8k count=200000"

-will write 1.6G of file see output below.

time sh -c "dd if=/dev/zero of=ddfile1 bs=8k count=200000"


200000+0 records in
200000+0 records out
1638400000 bytes (1.6 GB) copied, 7.48931 s, 219 MB/s