diff options
author | Karel Zak | 2016-07-01 14:45:04 +0200 |
---|---|---|
committer | Karel Zak | 2016-07-01 14:45:04 +0200 |
commit | f29bc6e1cc4ed9f76bded543c6ab393f674ec3ed (patch) | |
tree | ddbc53b7e39234416fb671bb9c4775d7ac1db812 /misc-utils/lslocks.8 | |
parent | Merge branch 'utmpdump' of git://github.com/kerolasa/lelux-utiliteetit (diff) | |
download | kernel-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.8 | 8 |
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. |