Date: Thu, 12 Oct 2000 14:04:34 +0300 From: Odhiambo Washington <wash@iconnect.co.ke> To: FBSD-ISP <freebsd-isp@freebsd.org> Subject: Processing details files Message-ID: <20001012140434.A38247@poeza.iconnect.co.ke>
next in thread | raw e-mail | index | archive | help
Hi Kindly advise how I can process such a file: 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001012140434.A38247>