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
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.