2019-05-28 10:27:22 +01:00
|
|
|
# lslocks
|
|
|
|
|
|
|
|
> List local system locks.
|
2021-08-16 11:34:01 +01:00
|
|
|
> More information: <https://manned.org/lslocks>.
|
2019-05-28 10:27:22 +01:00
|
|
|
|
|
|
|
- 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}}`
|
|
|
|
|
2022-12-04 07:53:34 +00:00
|
|
|
- List locks with JSON output to `stdout`:
|
2019-05-28 10:27:22 +01:00
|
|
|
|
|
|
|
`lslocks --json`
|