[request] XML output of scores
#29
No no not tail is a resource hog reading the whole log file in anything at a rapid pace would be. tail itself isn't because it only spits out that last few lines but say you have tail set to show the last 10 lines and in between processing those 10 lines 20 lines get put into the log then you miss the 10 extra lines that got written while you where processing the 10 you managed to grab. Using tail to spit the whole file out each time WOULD be a resource hog if the log file size was 10mb and larger which I see regularly just on a osok server I imagine on ctf servers and such they grow even bigger faster. Now I know processing 10 lines of a log should be pretty instant but 10 lines can be written to the log pretty fast too specially when a round changes or if some type of abuse is happening. I'm not saying this would happen often but with that method there is always the possibility for data to get lost.

It's also very hard to keep track of what you have already processed since there is no unique identifier provided. If you use syslog you have a pretty unique timestamp but I imagine if some logs come in fast enough they might have the same timestamp but then again its using another external source (syslog) to collect the logs.
Thanks given by:


Messages In This Thread
[request] XML output of scores - by Luc@s - 05 Jan 11, 02:23PM
RE: [request] XML output of scores - by Drakas - 05 Jan 11, 03:17PM
RE: [request] XML output of scores - by Luc@s - 05 Jan 11, 05:19PM
RE: [request] XML output of scores - by Fiz - 07 Jan 11, 11:06PM
RE: [request] XML output of scores - by Fiz - 08 Jan 11, 12:59AM
RE: [request] XML output of scores - by Alien - 08 Jan 11, 02:11PM
RE: [request] XML output of scores - by Luc@s - 08 Jan 11, 03:15PM
RE: [request] XML output of scores - by Alien - 08 Jan 11, 05:22PM
RE: [request] XML output of scores - by Luc@s - 08 Jan 11, 05:38PM
RE: [request] XML output of scores - by Fiz - 08 Jan 11, 06:30PM
RE: [request] XML output of scores - by Luc@s - 08 Jan 11, 07:11PM
RE: [request] XML output of scores - by Fiz - 08 Jan 11, 07:42PM
RE: [request] XML output of scores - by Luc@s - 08 Jan 11, 06:06PM
RE: [request] XML output of scores - by Alien - 08 Jan 11, 06:26PM
RE: [request] XML output of scores - by Alien - 08 Jan 11, 06:33PM
RE: [request] XML output of scores - by Drakas - 08 Jan 11, 08:06PM
RE: [request] XML output of scores - by Fiz - 08 Jan 11, 08:09PM
RE: [request] XML output of scores - by Drakas - 08 Jan 11, 08:35PM
RE: [request] XML output of scores - by Fiz - 08 Jan 11, 09:05PM
RE: [request] XML output of scores - by Drakas - 08 Jan 11, 09:27PM
RE: [request] XML output of scores - by Luc@s - 08 Jan 11, 09:23PM
RE: [request] XML output of scores - by Fiz - 08 Jan 11, 09:57PM
RE: [request] XML output of scores - by Drakas - 08 Jan 11, 10:17PM
RE: [request] XML output of scores - by Fiz - 08 Jan 11, 10:55PM
RE: [request] XML output of scores - by Fiz - 08 Jan 11, 11:43PM
RE: [request] XML output of scores - by Luc@s - 09 Jan 11, 01:01PM