well, for august log files for example :

$ cd hlds_l/cstrike/logs
$ grep " connected" L08* | cut -d'<' -f3 | sort -u | wc -l

don't forget the beginning space in " connected" (otherwise "disconnected"
lines would also match)

cheers,
-- djeyl

----- Original Message -----
From: "Adam Pearse" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 16, 2002 12:57 AM
Subject: [hlds_linux] Tool or utility to count the number of unique players
from the cs .log files ...


> Hey does anyone have a perl/python/c/bash/etc utility to parse all the cs
> log files to show how many unique players have been on a server? I know
most
> of the stats programs have them but I don't need something that
complicated
> just parse the logs and tell me how many unique players within a time
frame.


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to