From owner-freebsd-isp Thu Oct 12 18:47:48 2000 Delivered-To: freebsd-isp@freebsd.org Received: from gatekeeper.viper.net.au (gatekeeper.viper.net.au [203.31.238.1]) by hub.freebsd.org (Postfix) with ESMTP id DEE1C37B503 for ; Thu, 12 Oct 2000 18:47:42 -0700 (PDT) Received: from localhost (mark@localhost) by gatekeeper.viper.net.au (8.9.3/8.9.3) with ESMTP id MAA61089; Fri, 13 Oct 2000 12:47:27 +1100 (EST) (envelope-from mark@viper.net.au) Date: Fri, 13 Oct 2000 12:47:27 +1100 (EST) From: Mark Russell To: Odhiambo Washington Cc: FBSD-ISP Subject: Re: Processing details files In-Reply-To: <20001012140434.A38247@poeza.iconnect.co.ke> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 12 Oct 2000, Odhiambo Washington wrote: > Hi > Kindly advise how I can process such a file: /usr/ports/net/radreport > > NB: Did I mention to you that I have no idea how to write a script? ;-) > > Log starts on Tue Aug 1 00:01:15 2000. > Date Logout Userid IP Time Term M# Sent(b) Recieved(b) > 08/06/20 11:09:23 caacall@mombasa 20 78.45 Idle 27 416836 437705 > 08/06/20 23:19:01 caacall@mombasa 20 701.3 Lost 27 6369328 5897091 > 08/07/20 13:40:18 caacall@mombasa 20 316.0 Lost 27 1455872 1472357 > 08/07/20 16:52:30 caacall@mombasa 20 185.5 Lost 27 740305 462882 > 08/07/20 22:10:52 caacall@mombasa 20 307.9 Lost 27 2350597 2499529 > 08/07/20 23:31:28 caacall@mombasa 20 78.65 User 27 144726 300747 > 08/08/20 09:42:25 caacall@mombasa 20 44.68 Idle 27 502168 520524 > > I know I may be asking for so much but pls just help me out. > I need a small script that will take a file with this date and give me the > TOTALS for column5, column8 and column9 > > If possible, if I can get col5 interpreted into hrs:min:sec > Any little help highly appreciated. > > > -Wash > > -- > Odhiambo Washington Inter-Connect Ltd., > wash@iconnect.co.ke 5th Flr Furaha Plaza > Tel: 254 11 222604 Nkrumah Rd., > Fax: 254 11 222636 PO Box 83613 MOMBASA, KENYA. > > A leading authority is someone lucky who guessed right. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ Mark Russell mark@viper.net.au ph 61 + 2 + 9699 3837 viper.net.au http://www.viper.net.au fax 61 + 2 + 9699 3841 +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ http://www.google.com/search?q=mark+sux To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message