Tool: userprune 1.3 · 520 KB · 09 Feb 2013 · md5 fba0df180f18 · licence per site · 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.

userprune 1.3

520 KB · 09 Feb 2013 · md5 fba0df180f18 · licence per site · shelf 4

windowslinuxmacossharewarewrites store

Clears the record locks left behind by sessions that crashed.

userprune clear --stale 30
4 locks held, oldest 96 min, 2 cleared

Note from the shelf row: never below thirty minutes, whatever the user says

Before you install

  • Runs on: Windows, Linux, macOS. the application must be 4.0.7 to 4.1.6.
  • Space: about 520 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 userprune-1.3-win64.zip
md5sum userprune-1.3-linux-x64.tar.gz
md5 userprune-1.3-macos.tar.gz

Expected: fba0df180f18. 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 userprune-1.3-win64 C:\Tools\userprune /E /I
setx PATH "%PATH%;C:\Tools\userprune"
userprune --version

Linux

Unpack it and link it onto the path:

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

macOS

Unpack it and link it onto the path:

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

Check it worked

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

userprune --version
userprune clear --stale 30
4 locks held, oldest 96 min, 2 cleared

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\userprune
sudo rm -rf /opt/userprune /usr/local/bin/userprune
sudo rm -rf /opt/userprune /usr/local/bin/userprune

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.