Manual:lag.php
Appearance
MediaWiki version: | ≥ 1.16 |
MediaWiki file: lag.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.42.3 • 1.41.4 • 1.39.10 |
Classes: | DatabaseLag |
Details
[edit]lag.php file is a maintenance script to show database lag.
Options/Arguments
[edit]Option | Description | Required? |
---|---|---|
--r | Do not exit, just update the database lag every 5 seconds. | Optional |
Usage
[edit]php maintenance/lag.php [ --r ]
Terminal
$ php maintenance/lag.php primary.db 1 replica.db 2