Disk Speed Test CLI question

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message


  • Posts: 1
  • Joined: Mon Feb 24, 2020 1:29 pm
  • Real Name: Matan Avi-Tal

Disk Speed Test CLI question

PostMon Feb 24, 2020 2:44 pm


I would like to run the BlackMagic Disk Speed Test using CLI.
I see that there is support for running in CLI, but no option to specify the path for file under test:
Code: Select all
/Applications/Blackmagic\ Disk\ Speed\ Test.app/Contents/MacOS/DiskSpeedTest -h
Usage: /Applications/Blackmagic Disk Speed Test.app/Contents/MacOS/DiskSpeedTest [options]

  -h, --help            Displays this help.
  -c, --cmd             Control via command-line options, not GUI.
  -o, --outfile <file>  Print result output to <file> (default: stdout).
  -s, --size <size>     Stress test of <size> GBs (default: 1).
  -n, --iterations <N>  <N> iterations (default: 1).

Trying to debug with dtruss I found that it always goes to the cache folder no matter what:
Code: Select all
/Applications/Blackmagic\ Disk\ Speed\ Test.app/Contents/MacOS/DiskSpeedTest -c & sudo dtruss -t open -p $!
[1] 52417
dtrace: system integrity protection is on, some features will not be available

SYSCALL(args)        = return
open("/Users/vastdata/Library/Containers/com.blackmagic-design.DiskSpeedTest/Data/Library/Caches/BlackmagicDiskSpeedTest/DiskSpeedTestTemp\0", 0x0, 0xE8)       = 7 0

[1]+  Done                    /Applications/Blackmagic\ Disk\ Speed\ Test.app/Contents/MacOS/DiskSpeedTest -c

Any idea how can I set the path for the file under test? I tried to specify the path as the first/last argument and it didn't change a thing.


Return to Software Developers

Who is online

Users browsing this forum: No registered users and 2 guests