diff --git a/src/alias.txt b/src/alias.txt index d541fae..e6811a1 100644 --- a/src/alias.txt +++ b/src/alias.txt @@ -198,9 +198,14 @@ function wdt() { testfile_size=2048 echo -e "\n使用默认值: ${testfile_size}MB" fi + echo "------------" + echo "写入速度如下" time dd if=/dev/zero of=./testfile bs=1M count=${testfile_size} oflag=direct + echo "------------" + echo "读取速度如下" time dd if=./testfile of=/dev/null bs=1M rm ./testfile + echo "测试文件已删除" } function din() {