Manual:Lag.php/pl
Wersja MediaWiki: | ≥ 1.16 |
Plik MediaWiki: lag.php | |
---|---|
Lokalizacja: | maintenance/ |
Kod źródłowy: | master • 1.43.1 • 1.42.6 • 1.39.12 |
Klasy: | DatabaseLag |
Szczegóły
lag.php file is a maintenance script to show database lag.
Opcje
Option | Description | Required? |
---|---|---|
--r | Do not exit, just update the database lag every 5 seconds. | Optional |
Usage
php maintenance/run.php lag [ --r ]
Terminal
$ php maintenance/run.php lag primary.db 1 replica.db 2
In MediaWiki version 1.39.12 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php
instead of php maintenance/run.php scriptName
.