From owner-freebsd-hackers Tue Mar 6 6:12:57 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from hda.hda.com (host65.hda.com [63.104.68.65]) by hub.freebsd.org (Postfix) with ESMTP id 6C4DE37B718 for ; Tue, 6 Mar 2001 06:12:41 -0800 (PST) (envelope-from dufault@hda.hda.com) Received: (from dufault@localhost) by hda.hda.com (8.11.1/8.11.1) id f26EBSV08016 for hackers@freebsd.org; Tue, 6 Mar 2001 09:11:28 -0500 (EST) (envelope-from dufault) From: Peter Dufault Message-Id: <200103061411.f26EBSV08016@hda.hda.com> Subject: Log file analysis To: hackers@freebsd.org Date: Tue, 6 Mar 2001 09:11:27 -0500 (EST) X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have long log files from multi-threaded multi-program simulations that output this sort of thing: > BUS:16:15:35.212525 vme:082a4000 \ irqn: opening shared memory object /var/tmp/vmedir/irqn.bus > BUS:16:15:35.221792 vme:082a4000 \ irqn: Master opening request FIFO blocking. > BUS:16:15:37.193684 foo:082a4000 \ irqn: opening /var/tmp/vmedir/irqn.bus > BUS:16:15:37.194125 foo:082a4000 \ irqn: Opening /var/tmp/vmedir/irqn.request write-only... > BUS:16:15:37.194318 vme:082a4000 \ irqn: blocking for request > BUS:16:15:37.194524 foo:082a4000 \ irqn: creating reply fifo /var/tmp/vmedir/irqn74193.74181.reply > BUS:16:15:37.194771 foo:082a4000 \ irqn: writing request #0 "Attach" (with handshake, sem 0x830f5e0 pSem 0xbfbfe3dc) to request FIFO. > BUS:16:15:37.195009 vme:082a4000 \ irqn: received request #0 (with handshake) "Attach" from client foo I'd like to be able to graphically browse these logs so that unusual sequences jump out. There are time stamps, programs, thread ids, etc, in the fields and I want to plot them along the time axis with different colors, different programs at different heights, etc. I did a little searching for log file analysis, etc, but only see web site oriented utilities. I'll start rolling my own using a tk canvas, but does anyone know of a good starting point tool? Peter -- Peter Dufault (dufault@hda.com) Realtime development, Machine control, HD Associates, Inc. Fail-Safe systems, Agency approval To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message