Switching to Linux can be a bit of a headache at first, but then it just keeps making your life more pleasant and productive. There are an infinite number of tools and most of them are easy to install and easy to use from the command line. One of the most interesting December discoveries for me was a simple and minimalistic tool called lslocks
. This utility just shows all the currently held file locks in the system. It can be great for debugging as well as for showing what other programs are doing. Here is the example:
lslocks
COMMAND PID TYPE SIZE MODE M START END PATH
firefox-esr x POSIX 9.1M WRITE 0 x x /.../favicons.sqlite
Looks like Firefox keeps it’s cached favicons in an SQLite database, who knew.