summaryrefslogtreecommitdiffstats
path: root/misc-utils/lslocks.8
diff options
context:
space:
mode:
authorBenno Schulenberg2014-12-14 20:45:31 +0100
committerKarel Zak2014-12-19 09:57:25 +0100
commit7ab71099726396380a40b54d32b3ba7ac04fa518 (patch)
tree7930a52b9fc905990a1ae39320c1747c0bd8666a /misc-utils/lslocks.8
parentdocs: adjust the grammar, text, sorting and formatting of logger man page (diff)
downloadkernel-qcow2-util-linux-7ab71099726396380a40b54d32b3ba7ac04fa518.tar.gz
kernel-qcow2-util-linux-7ab71099726396380a40b54d32b3ba7ac04fa518.tar.xz
kernel-qcow2-util-linux-7ab71099726396380a40b54d32b3ba7ac04fa518.zip
docs: adjust some formatting and wordings in a handful of man pages
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'misc-utils/lslocks.8')
-rw-r--r--misc-utils/lslocks.833
1 files changed, 14 insertions, 19 deletions
diff --git a/misc-utils/lslocks.8 b/misc-utils/lslocks.8
index 70a5638e8..83c7585dd 100644
--- a/misc-utils/lslocks.8
+++ b/misc-utils/lslocks.8
@@ -3,7 +3,7 @@
.\" Copyright 2012 Davidlohr Bueso <dave@gnu.org>
.\" May be distributed under the GNU General Public License
-.TH LSLOCKS 8 "February 2012" "util-linux" "System Administration"
+.TH LSLOCKS 8 "December 2014" "util-linux" "System Administration"
.SH NAME
lslocks \- list local system locks
.SH SYNOPSIS
@@ -16,9 +16,6 @@ lists information about all the currently held file locks in a Linux system.
.SH OPTIONS
.TP
-.BR \-h , " \-\-help"
-Display help text and exit.
-.TP
.BR \-n , " \-\-noheadings"
Do not print a header line.
.TP
@@ -38,47 +35,45 @@ Use the raw output format.
.TP
.BR \-u , " \-\-notruncate"
Do not truncate text in columns.
+.TP
+.BR \-V , " \-\-version"
+Display version information and exit.
+.TP
+.BR \-h , " \-\-help"
+Display help text and exit.
.SH OUTPUT
.IP "COMMAND"
The command name of the process holding the lock.
-
.IP "PID"
The process ID of the process which holds the lock.
-
.IP "TYPE"
-The type of lock; can be FLOCK (created with flock(2)) or POSIX (created with fcntl(2) and lockf(3)).
-
+The type of lock; can be FLOCK (created with \fBflock\fR(2)) or POSIX
+(created with \fBfcntl\fR(2) and \fBlockf\fR(3)).
.IP "SIZE"
Size of the locked file.
-
.IP "MODE"
The lock's access permissions (read, write). If the process is blocked and waiting for the lock,
then the mode is postfixed with an '*' (asterisk).
-
.IP "M"
Whether the lock is mandatory; 0 means no (meaning the lock is only advisory), 1 means yes.
-(See fcntl(2)).
-
+(See \fBfcntl\fR(2).)
.IP "START"
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
-.B "--notruncate"
-to get the full path.
-
+\fB\-\-notruncate\fR to get the full path.
.IP "BLOCKER"
The PID of the process which blocks the lock.
.SH NOTES
.nf
-The lslocks command is meant to replace the lslk(8) command, originally written by
-Victor A. Abell <abe@purdue.edu> and unmaintained since 2001.
+The \fBlslocks\fR command is meant to replace the \fBlslk\fR(8) command,
+originally written by Victor A. Abell <abe@purdue.edu> and unmaintained
+since 2001.
.fi
.SH AUTHORS