TLDR
Enter a command. For example: swapon, fprintd verify, mmcli.

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

This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.