Manual:Lag.php

Details
lag.php file is a maint-script>Special:MyLanguage/Manual>Maintenance scripts|maintenance script to show database lag.

Options
--r - Do not exit, just update the database lag every 5 seconds.