Manual:lag.php
MediaWiki version: | ≥ 1.16 |
MediaWiki file: lag.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.42.4 • 1.41.5 • 1.39.11 |
Classes: | DatabaseLag |
Details
editlag.php file is a maintenance script to show database lag.
Options/Arguments
editOption | Description | Required? |
---|---|---|
--r | Do not exit, just update the database lag every 5 seconds. | Optional |
Usage
editphp maintenance/run.php lag [ --r ]
Terminal
$ php maintenance/run.php lag primary.db 1 replica.db 2
In MediaWiki version 1.39.10 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php
instead of php maintenance/run.php scriptName
.