Manual:lag.php
From Linux Web Expert
<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.16
<translate> MediaWiki version:</translate> |
MediaWiki file: lag.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.41.1 • 1.40.3 • 1.39.7 |
Classes: | DatabaseLag |
Details
lag.php file is a maintenance script to show database lag.
Options/Arguments
Option | Description | Required? |
---|---|---|
--r | Do not exit, just update the database lag every 5 seconds. | <translate> Optional</translate> |
Usage
php maintenance/lag.php [ --r ]
Terminal
$ php maintenance/lag.php primary.db 1 replica.db 2