Skip to content

Commit

Permalink
lslocks: add page (#3037)
Browse files Browse the repository at this point in the history
  • Loading branch information
RH-sdavey authored and agnivade committed May 28, 2019
1 parent 251cb0d commit f25dd60
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions pages/linux/lslocks.md
Original file line number Diff line number Diff line change
@@ -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`

0 comments on commit f25dd60

Please sign in to comment.