Karel Zak
b3a2e889df
lslocks: add --json
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-06-05 10:45:15 +02:00
Benno Schulenberg
3a60b1c26b
docs: remove obsolete and unneeded comments from man-page files
...
Transform some of them into copyright lines.
Also fix three header lines and snip some trailing whitespace.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2015-01-12 11:03:26 +01:00
Benno Schulenberg
7ab7109972
docs: adjust some formatting and wordings in a handful of man pages
...
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2014-12-19 09:57:25 +01:00
Benno Schulenberg
f49ccec212
docs: don't use bold or italics for "[option]" in synopsis of man pages
...
As per the convention shown in Documentation/howto-man-page.txt.
Also make a few other tiny adjustments along the way.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2014-12-19 09:57:23 +01:00
Benno Schulenberg
b4362b6f84
docs: standardize the phrases for --help and --version in all man pages
...
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-10-15 10:28:30 +02:00
Mike Frysinger
66083665d5
standard SEE ALSO section of man pages
...
The standard format is to seperate each entry with a comma, and
for each one to be on a line by itself. Most util-linux pages
follow this, but a few do not.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-05-13 14:42:59 +02:00
Benno Schulenberg
eae1ef2f20
docs: normalize formatting of lslocks man page
...
Also alphabetize the options and improve some wording.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-03-20 14:09:23 +01:00
Benno Schulenberg
3768420374
docs: improve grammar and formatting of explanation of "-o +list"
...
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-03-04 12:33:25 +01:00
Karel Zak
e68948e146
lslocks: support -o +<list> convention
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-02-18 13:21:42 +01:00
Karel Zak
7badb909e2
lslocks: add BLOCKER column
...
BLOCKER - PID of the process blocking the lock
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-02-18 13:12:01 +01:00
Karel Zak
55c0d16bab
lslocks: detect blocked locks, fix /proc/locks parser
...
$ flock foo -c "sleep 100" & flock foo -c "sleep 100"
old version:
$ lslocks
lslocks: failed to parse pid: 'WRITE'
new version:
COMMAND PID TYPE SIZE MODE M START END PATH
[...]
flock 1318 FLOCK 0B WRITE* 0 0 0 /home/projects/
flock 1319 FLOCK 0B WRITE 0 0 0 /home/projects/
The asterisk (e.g. WRITE*) is used for blocked processes.
Reported-by: Mantas Mikulenas <grawity@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-02-14 16:29:51 +01:00
Davidlohr Bueso
74fa8244de
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>
2012-03-06 17:07:40 +01:00
Karel Zak
c4137d397c
lslocks: add --notruncate, minor fixes in man page
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-29 14:26:46 +01:00
Davidlohr Bueso
4473c8dc8a
lslocks: add lslocks.8 man page
...
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-29 14:15:01 +01:00