summaryrefslogtreecommitdiffstats
path: root/misc-utils/lslocks.8
diff options
context:
space:
mode:
authorKarel Zak2016-07-01 14:45:04 +0200
committerKarel Zak2016-07-01 14:45:04 +0200
commitf29bc6e1cc4ed9f76bded543c6ab393f674ec3ed (patch)
treeddbc53b7e39234416fb671bb9c4775d7ac1db812 /misc-utils/lslocks.8
parentMerge branch 'utmpdump' of git://github.com/kerolasa/lelux-utiliteetit (diff)
downloadkernel-qcow2-util-linux-f29bc6e1cc4ed9f76bded543c6ab393f674ec3ed.tar.gz
kernel-qcow2-util-linux-f29bc6e1cc4ed9f76bded543c6ab393f674ec3ed.tar.xz
kernel-qcow2-util-linux-f29bc6e1cc4ed9f76bded543c6ab393f674ec3ed.zip
lslocks: add --noinaccessible
* add --noinaccessible to not print incomplete information * make incomplete paths more visible (append "...") * don't print 0B size if lock file inaccessible Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/lslocks.8')
-rw-r--r--misc-utils/lslocks.88
1 files changed, 6 insertions, 2 deletions
diff --git a/misc-utils/lslocks.8 b/misc-utils/lslocks.8
index 7d983c839..2be0a28b9 100644
--- a/misc-utils/lslocks.8
+++ b/misc-utils/lslocks.8
@@ -15,6 +15,9 @@ lists information about all the currently held file locks in a Linux system.
.SH OPTIONS
.TP
+.BR \-i , " \-\-noinaccessible"
+Ignore lock files which are inaccessible for the current user.
+.TP
.BR \-J , " \-\-json"
Use JSON output format.
.TP
@@ -65,8 +68,9 @@ Relative byte offset of the lock.
.IP "END"
Ending offset of the lock.
.IP "PATH"
-Full path of the lock. If none is found, or there are no permissions to read the path,
-it will fall back to the device's mountpoint. The path might be truncated; use
+Full path of the lock. If none is found, or there are no permissions to read
+the path, it will fall back to the device's mountpoint and "..." is appended to
+the path. The path might be truncated; use
\fB\-\-notruncate\fR to get the full path.
.IP "BLOCKER"
The PID of the process which blocks the lock.