# lslocks # List local system locks. # More information: <https://manned.org/lslocks>. # List all local system locks: lslocks # List locks with defined column headers: lslocks --output PID,COMMAND,PATH # List locks producing a raw output (no columns), and without column headers: lslocks --raw --noheadings # List locks by PID input: lslocks --pid PID # List locks with JSON output to `stdout`: lslocks --json $Follow @igor_chubin cheat.sh tldr