A small macOS terminal benchmark and system summary script, inspired by the colorful output style of Teddysun’s bench.sh. It prints CPU, memory, disk usage, network latency/speed (via speedtest-cli), and a sequential disk write test (dd).
Requirements
- macOS (Darwin)
- Homebrew — used to install
speedtest-cliif missing
Run straight from GitHub:
curl -Lso- https://raw.githubusercontent.com/boracomet/macbench.sh/main/macbench.sh | bashcurl flags:
-L— follow redirects-s— silent (no progress meter)-o-— write the downloaded script to stdout so it can be piped tobash
git clone https://github.com/boracomet/macbench.sh.git
cd macbench.sh
chmod +x macbench.sh
./macbench.shControl how many megabytes each dd pass writes (default 256 MB × 3 rounds; files live under /tmp):
export MACBENCH_IO_MB=128
curl -Lso- https://raw.githubusercontent.com/boracomet/macbench.sh/main/macbench.sh | bashcurl … | bash executes remote code. Prefer sources you trust, or pin a specific commit/tag in the raw URL. To inspect first:
curl -Ls -o macbench.sh https://raw.githubusercontent.com/boracomet/macbench.sh/main/macbench.sh
less macbench.sh
bash macbench.sh- Repository: github.com/boracomet/macbench.sh
- Author: Bora Ata Turkoglu
