This script is designed to test the disk performance by writing and reading a 1 GB file. It can be run directly from the internet without installation.
- The script requires
sudo
permissions to clear the system cache before each test. - The
dd
utility is already installed on all Unix-like systems.
You can run the script directly from GitHub using the following command:
curl -sL https://raw.githubusercontent.com/oxisoft/dd-test-disk/main/disk-test.sh | sudo bash -s /path/to/folder
Replace /path/to/folder
with the actual folder path where you want to perform the disk test.
curl -sL https://raw.githubusercontent.com/oxisoft/dd-test-disk/main/disk-test.sh | sudo bash -s /tmp/testdisk
This project is created by OxiSoft.io and is licensed under the MIT License - see the LICENSE file for details.