Handbuch:lag.php
Appearance
Outdated translations are marked like this.
| MediaWiki Version: | ≥ 1.16 |
| MediaWiki-Datei: lag.php | |
|---|---|
| Speicherort: | maintenance/ |
| Quellcode: | master • 1.45.1 • 1.44.3 • 1.43.6 |
| Klassen: | DatabaseLag |
Details
Die lag.php-Datei ist ein maintenance script, das Datenbank-Verzögerungen anzeigt.
Optionen/Argumente
| Option | Beschreibung | Notwendig? |
|---|---|---|
| --r | Do not exit, just update the database lag every 5 seconds. | Optional |
Verwendung
php maintenance/run.php lag [ --r ]
Terminal
$ php maintenance/run.php lag primary.db 1 replica.db 2
In MediaWiki version MediaWiki 1.39 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php instead of php maintenance/run.php scriptName.