summaryrefslogtreecommitdiffstats
path: root/misc-utils/lslocks.8
Commit message (Collapse)AuthorAgeFilesLines
* lslocks: add --output-all optionSami Kerola2018-05-031-0/+3
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* lslocks: add --bytes cleanup SIZE usageKarel Zak2018-04-181-0/+3
| | | | | | | | The new command line option --bytes disables human readable output for the SIZE and keep size in bytes. We use the same concept for all our utils. Signed-off-by: Karel Zak <kzak@redhat.com>
* lslocks: add info about OFDKarel Zak2018-04-131-1/+6
| | | | | | | | | | It seems users are confused by PID -1 and missing path. This patch add more information about OFD locks to the man page and "undefined" to the COMMAND column. References: http://austingroupbugs.net/view.php?id=768 Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1527102 Signed-off-by: Karel Zak <kzak@redhat.com>
* lslocks: add note about OFDLCKKarel Zak2017-11-031-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: replace FTP by HTTPS in kernel.org URLsSébastien Helleu2016-12-191-1/+1
| | | | | | | The links to ftp://ftp.kernel.org/ are replaced by https://www.kernel.org/. Signed-off-by: Karel Zak <kzak@redhat.com>
* Fix section number in lockf() page xrefMichael Kerrisk (man-pages)2016-11-291-1/+1
| | | | | | lockf() is in section 3, not 2. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
* lslocks: add --noinaccessibleKarel Zak2016-07-011-2/+6
| | | | | | | | | | * 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>
* lslocks: add --jsonKarel Zak2015-06-051-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: remove obsolete and unneeded comments from man-page filesBenno Schulenberg2015-01-121-1/+0Star
| | | | | | | 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>
* docs: adjust some formatting and wordings in a handful of man pagesBenno Schulenberg2014-12-191-19/+14Star
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* docs: don't use bold or italics for "[option]" in synopsis of man pagesBenno Schulenberg2014-12-191-1/+2
| | | | | | | 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>
* docs: standardize the phrases for --help and --version in all man pagesBenno Schulenberg2013-10-151-1/+1
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* standard SEE ALSO section of man pagesMike Frysinger2013-05-131-2/+2
| | | | | | | | 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>
* docs: normalize formatting of lslocks man pageBenno Schulenberg2013-03-201-24/+31
| | | | | | Also alphabetize the options and improve some wording. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* docs: improve grammar and formatting of explanation of "-o +list"Benno Schulenberg2013-03-041-2/+2
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* lslocks: support -o +<list> conventionKarel Zak2013-02-181-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lslocks: add BLOCKER columnKarel Zak2013-02-181-0/+3
| | | | | | BLOCKER - PID of the process blocking the lock Signed-off-by: Karel Zak <kzak@redhat.com>
* lslocks: detect blocked locks, fix /proc/locks parserKarel Zak2013-02-141-2/+2
| | | | | | | | | | | | | | | | | | | | $ 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>
* lslocks: add TYPE columnDavidlohr Bueso2012-03-061-1/+6
| | | | | | | | | | | 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>
* lslocks: add --notruncate, minor fixes in man pageKarel Zak2012-02-291-4/+7
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lslocks: add lslocks.8 man pageDavidlohr Bueso2012-02-291-0/+74
Signed-off-by: Davidlohr Bueso <dave@gnu.org> Signed-off-by: Karel Zak <kzak@redhat.com>