diff options
author | Davidlohr Bueso | 2012-03-02 14:00:06 +0100 |
---|---|---|
committer | Karel Zak | 2012-03-06 17:07:40 +0100 |
commit | 74fa8244de4eb4c02c31632a73b953c9388ae8d9 (patch) | |
tree | 4730e3de7c54e55d22a8e308d90295a8c14f50df /misc-utils/lslocks.8 | |
parent | tests: add lslocks to build-sys tests (diff) | |
download | kernel-qcow2-util-linux-74fa8244de4eb4c02c31632a73b953c9388ae8d9.tar.gz kernel-qcow2-util-linux-74fa8244de4eb4c02c31632a73b953c9388ae8d9.tar.xz kernel-qcow2-util-linux-74fa8244de4eb4c02c31632a73b953c9388ae8d9.zip |
lslocks: add TYPE column
By knowing the lock's type (flock or posix), the user can have more
information about the lock and how it was created.
[kzak@redhat.com: - rename PERSONALITY to TYPE,
- rename ACCESS to MODE]
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/lslocks.8')
-rw-r--r-- | misc-utils/lslocks.8 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/misc-utils/lslocks.8 b/misc-utils/lslocks.8 index 3257d7952..24cda144e 100644 --- a/misc-utils/lslocks.8 +++ b/misc-utils/lslocks.8 @@ -37,10 +37,13 @@ The command name of the process holding the lock. .IP "PID" Process ID which holds the lock. +.IP "TYPE" +Type of lock, can be FLOCK (created with flock(2)) or POSIX (created with fcntl(2) and lockf(2)) + .IP "SIZE" Size of the locked file. -.IP "ACCESS" +.IP "MODE" Lock access permissions (read, write). .IP "M" @@ -71,6 +74,8 @@ Davidlohr Bueso <dave@gnu.org> .SH "SEE ALSO" .BR flock (1) +.BR fcntl (2) +.BR lockf (2) .SH AVAILABILITY The lslocks command is part of the util-linux package and is available from |