Home > Questions

Can I use Mac Terminal to test disk speed just like Windows CMD?

I'd like to know if the Mac Terminal has a disk speed test similar to the Windows CMD function.

Best Answered by

iBoysoft author Amanda Wong

Amanda Wong

Answered on Tuesday, December 3, 2024

If you are familiar with Terminal commands, you can run commands to test disk speed on your Mac. By entering the terminal commands, a 1GB file is read or written, and the test times this duration.

Here's how to test disk speed on Mac with Terminal:

  1. Open Terminal from Finder > Applications > Utilities.
  2. Type the command below and press Enter:#Disk Speed Test Write: 
    time dd if=/dev/zero bs=1024k of=tstfile count=1024
    #Disk Speed Test Read: 
    dd if=tstfile bs=1024k of=/dev/null count=1024
  3. Then wait for the output.

If you are not familiar with Terminal, there are some other programs you can choose to test disk speed on Mac such as iBoysoft DiskGeeker, it supports disk speed tests for both internal and external hard drives, and it is pretty easy to use. You can free download it to have a try!

People Also Ask

Read More Questions

Read More Advice From iBoysoft's Computer Experts

Résumé de l'eMMC

Qu'est-ce que le stockage eMMC ? & eMMC vs. Stockage SSD

Ce post présentera brièvement ce qu'est l'eMMC, si l'eMMC est meilleur que le SSD et les différences entre l'eMMC et le NVMe.

How to Share Large Files on Mac

How to Share or Send Large Files on Mac?

A useful post summarizes the best methods to share or send very large files on Mac.

News Tips

bash cd argumentos em excesso zsh string não encontrada em pwd

Bash: cd: muitos argumentos & Zsh: cd: string não está no pwd:

Se o Terminal já instalado ou outro shell de comando lançar um erro 'bash: cd: muitos argumentos' ou 'zsh: cd: muitos argumentos' no seu computador, venha a este artigo para soluções.