LSLOCKS(8) | System-Administration | LSLOCKS(8) |
BEZEICHNUNG
lslocks - lokale Systemsperren auflisten
ÜBERSICHT
lslocks [Optionen]
BESCHREIBUNG
lslocks zeigt Informationen zu allen aktuell gültigen Dateisperren auf einem Linux-System an.
OPTIONEN
-b, --bytes
Standardmäßig werden die Größen in Byte ausgedrückt und die Präfixe sind Potenzen der Form 2^10 (1024). Die Abkürzungen der Symbole werden zur besseren Lesbarkeit abgeschnitten, indem jeweils nur der erste Buchstabe dargestellt wird. Beispiele: »1 KiB« und »1 MiB« werden als »1 K« bzw. »1 M« dargestellt. Die Erwähnung des »iB«-Anteils, der Teil der Abkürzung ist, entfällt absichtlich.
-H, --list-columns
-i, --noinaccessible
-J, --json
-n, --noheadings
-o, --output Liste
Die voreingestellte Liste der Spalten kann erweitert werden, indem Sie die Liste im Format +Liste angeben (beispielsweise lslocks -o +BLOCKER).
--output-all
-p, --pid PID
-r, --raw
-u, --notruncate
-h, --help
-V, --version
AUSGABE
BEFEHL
PID
TYP
GRÖSSE
INODE
MAJ:MIN
MODUS
M
START
END
PATH
BLOCKER
HOLDERS
ANMERKUNGEN
Der Befehl lslocks soll den Befehl lslk(8) ersetzen, der ursprünglich von Victor A. Abell <abe@purdue.edu> entwickelt und seit 2001 nicht mehr betreut wurde.
"The process holding the lock" for leases, FLOCK locks, and OFD locks is a fake-concept. They are associated with the open file description on which they are acquired. With fork(2) and/or cmsg(3), multiple processes can share an open file description. So the holder process of a lease (or a lock) is not uniquely determined. lslocks shows the one of the holder processes in COMMAND and PID columns.
AUTOREN
Davidlohr Bueso <dave@gnu.org>
SIEHE AUCH
FEHLER MELDEN
For bug reports, use the issue tracker https://github.com/util-linux/util-linux/issues.
VERFÜGBARKEIT
Der Befehl lslocks ist Teil des Pakets util-linux, welches aus dem Linux-Kernel-Archiv https://www.kernel.org/pub/linux/utils/util-linux/ heruntergeladen werden kann.
2025-03-29 | util-linux 2.41 |