更新 src/alias.txt

This commit is contained in:
2025-11-04 08:24:29 -08:00
parent 7099c6bb70
commit 7e9e8df947

View File

@@ -198,9 +198,14 @@ function wdt() {
testfile_size=2048 testfile_size=2048
echo -e "\n使用默认值: ${testfile_size}MB" echo -e "\n使用默认值: ${testfile_size}MB"
fi fi
echo "------------"
echo "写入速度如下"
time dd if=/dev/zero of=./testfile bs=1M count=${testfile_size} oflag=direct 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 time dd if=./testfile of=/dev/null bs=1M
rm ./testfile rm ./testfile
echo "测试文件已删除"
} }
function din() { function din() {