Manual:GetLagTimes.php/tr

MediaWiki sürümü:
1.9
Category:MediaWiki code/tr#GetLagTimes.php

Ayrıntılar

getLagTimes.php dosyası, $wgLoadBalancer üzerinden çoğaltma gecikme sürelerini görüntülemek için bir bakım betiğidir.

Options/Arguments

OptionDescriptionRequired?
--reportReport the lag values to StatsDİsteğe bağlı

Usage

php maintenance/run.php getLagTimes [ --report ]
Terminal
In MediaWiki version 1.39.13 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

Betik, bir kümenin durumunu izleyen basit bir 'lagtop' betiği oluşturmak için komut satırından tekrar tekrar çağrılabilir.

# simple shell script to run getLagTimes.php every five seconds
while [true]
do
    php maintenance/run.php getLagTimes
    sleep 5
done

See also

Category:Maintenance scripts/tr#GetLagTimes.php Category:Benchmarks/tr#GetLagTimes.php Category:Benchmark maintenance scripts/tr
Category:Benchmark maintenance scripts/tr Category:Benchmarks/tr Category:Maintenance scripts/tr Category:MediaWiki code/tr