This command shows statistics on the amount of lag experienced by
people who are currently logged in and are using timestamp. Every
move made by a player with timestamp has a certain amount of lag,
which is recorded. The "lagstats" command shows the average lag
for all moves and pings made in the past 5 minutes. It also
gives a sort of histogram. Typical output:
Over the last 5 minutes 25333 lag measurements were taken.
Average lag: 222 ms.
(.... -- 0.1) 42.6% (10803)
( 0.1 -- 0.3) 42.8% (10844)
( 0.3 -- 1.0) 12.6% ( 3189)
( 1.0 -- 3.2) 1.6% ( 404)
( 3.2 -- 10.0) 0.3% ( 79)
(10.0 -- 31.6) 0.0% ( 12)
(31.6 -- ....) 0.0% ( 2)
In this example, 10803 of the 25333 measurements (42.6%) had
round-trip times less than 0.1 second.
You can specify how many minutes the display will take into account.
"lag 1" will shows statistics for the past minute.
Read help lag for an explanation of the causes of lag.