lslocks: add page (#3037)
This commit is contained in:

committed by
Agniva De Sarker

parent
251cb0d26c
commit
f25dd60c15
23
pages/linux/lslocks.md
Normal file
23
pages/linux/lslocks.md
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
# lslocks
|
||||||
|
|
||||||
|
> List local system locks.
|
||||||
|
|
||||||
|
- 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`
|
Reference in New Issue
Block a user