Tool: disktrim 4.2 · 64 KB · 07 Jul 2010 · md5 7071fe6975e4 · signed RZ · back to its row on the shelf

← Shelf

Placeholder page. These are the standard install steps, kept in the shape this shelf uses so nobody has to invent them twice. Anything in [brackets] is a value nobody has written down yet.

disktrim 4.2

64 KB · 07 Jul 2010 · md5 7071fe6975e4 · signed RZ · shelf 4

windowslinuxmacosbetawrites nothing

Profiles the extensions that load at startup and how long each one costs.

disktrim startup --profile
11 extensions, slowest 2.4 s

Note from the shelf row: none recorded

Before you install

  • Runs on: Windows, Linux, macOS. the application must be 4.0.7 to 4.1.6.
  • Space: about 64 KB for the download, plus [WORKING SPACE] while it runs.
  • Rights: an ordinary user account; no elevation needed
  • Know first: [PREREQUISITE] — what has to be true before this tool will run at all.

Download and verify

Take the build for your platform from the [SHARE] and check it against the digest on the shelf row before you unpack anything.

certutil -hashfile disktrim-4.2-win64.zip
md5sum disktrim-4.2-linux-x64.tar.gz
md5 disktrim-4.2-macos.tar.gz

Expected: 7071fe6975e4. The shelf row carries the same digest.

Install

Copy it into place and put it on the path. Nothing here installs a service or a scheduled task.

Windows

Unpack the zip, then:

xcopy disktrim-4.2-win64 C:\Tools\disktrim /E /I
setx PATH "%PATH%;C:\Tools\disktrim"
disktrim --version

Linux

Unpack it and link it onto the path:

sudo tar -xzf disktrim-4.2-linux-x64.tar.gz -C /opt
sudo ln -sf /opt/disktrim/disktrim /usr/local/bin/disktrim
disktrim --version

macOS

Unpack it and link it onto the path:

sudo tar -xzf disktrim-4.2-macos.tar.gz -C /opt
sudo ln -sf /opt/disktrim/disktrim /usr/local/bin/disktrim
disktrim --version

Check it worked

Check the version first, then run the one command the tool exists for:

disktrim --version
disktrim startup --profile
11 extensions, slowest 2.4 s

Expected output is the line shown above; anything else means [TO DO: write the failure list].

Removing it

Delete the folder and drop the path entry. The tool keeps no state of its own.

rmdir /s /q C:\Tools\disktrim
sudo rm -rf /opt/disktrim /usr/local/bin/disktrim
sudo rm -rf /opt/disktrim /usr/local/bin/disktrim

If it goes wrong

  • [KNOWN FAILURE 1] — the usual fixes for this tool have not been written down yet. Add them the second time somebody hits one.
  • Wrong error number or a fault you cannot name: run the tool's own diagnostic first (shelf row).
  • Before any repair that writes to a store, take the export — backoff is the tool for it.