Linux環境下命令行鍵入
測試寫文件速度
time dd if=/dev/zero of=/tmp/test bs=4096 count=120000
測試讀文件速度
time dd if=/tmp/test of=/dev/null bs=4096 count=120000
dd命令可完成將一個文件內容復制到另一個文件
dd if=/dev/zero of=/tmp/test bs=4096 count=120000
其中if為輸入文件,of為輸出文件, bs為每塊大寫,count為總共要復制的總量