Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2000:
[Freeciv-Dev] clistat
Home

[Freeciv-Dev] clistat

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] clistat
From: Lauri Tarkkala <ltarkkal@xxxxxxxxxxxxxxx>
Date: Sun, 13 Aug 2000 00:34:50 +0300

Attached is a simple patch against the freeciv in CVS (2000-08-13).

It adds one command "clistat", which looks like:

> /clistat
Nr: FD: User:
00   4  ltarkkal <ltarkkal@localhost> Idle: 5 s  Lost: 0 B Sent: 622 B Buf: 0 B

"clistat" counts the data sent in packets to each client connection, and
displays the time since last packet from client, bytes dropped, bytes
accepted into send_buffer, and size of send_buffer.

The command ctrllevel is "CTRL". It is meant to be used in tracking
problems with packet loss, the network code, and so on, while
playing on a public server.


Lauri

-- 
"The credit belongs to the man in the arena whose face is marred by dust and
sweat and blood, who strives valiantly, who errs, and who comes up short again
and again, who knows the great enthusiasms, the great devotions, and spends
himself in a worthy cause. The man who at best knows the triumph of high
achievement and who at worst, if he fails, fails while daring greatly, so that
his place will never be with those cold timid souls who never knew victory or
defeat." - Theodore Roosevelt

Attachment: freeciv-clistat.patch.gz
Description: application/gunzip


[Prev in Thread] Current Thread [Next in Thread]