From owner-freebsd-isp Fri May 12 8: 0:27 2000 Delivered-To: freebsd-isp@freebsd.org Received: from shell.telemere.net (shell.telemere.net [63.224.9.3]) by hub.freebsd.org (Postfix) with ESMTP id 168FB37BDCD for ; Fri, 12 May 2000 08:00:19 -0700 (PDT) (envelope-from visigoth@telemere.net) Received: by shell.telemere.net (Postfix, from userid 1001) id 5A43070602; Fri, 12 May 2000 09:59:21 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by shell.telemere.net (Postfix) with ESMTP id 564AC6C804; Fri, 12 May 2000 09:59:21 -0500 (CDT) Date: Fri, 12 May 2000 09:59:21 -0500 (CDT) From: Visigoth To: "N.B. DelMore" Cc: freebsd-isp@freebsd.org Subject: Re: Needed: 95th Percentile Script In-Reply-To: <3.0.6.32.20000509163611.01062ea0@mail.inr.net> Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-789027289-958143561=:26270" Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-789027289-958143561=:26270 Content-Type: TEXT/PLAIN; charset=US-ASCII Greetings, did you find what you needed? If not, I humbly present mrtglog1.1 a small c program I wrote for parsing mrtg logs and calculating the 95th percentile of usage for the last month. You should be able to just un tar/gz it and type make. the usage is ./mrtglog and it prints out a line with the in and out and total 95th percentile. It is meant to be used by something that will e-mail out the results, but I don't have that anymore ;) if you just want to use it to calculate the results it should work fine tho... If not, please tell me and I would be happy to fix it... Planning on doing a little more work on it and then submitting it as a (small but useful) port ;) Flames/Praise accepted gladly Visigoth Damieon Stark Sr. Unix Systems Administrator visigoth@telemere.net ____________________________________________________________________________ | - M$ Win 2K was built for the internet. | - Unix _BUILT_ the internet. | FreeBSD - The POWER to serve | http://www.freebsd.org your call... | | ---------------------------------------------------------------------------- --0-789027289-958143561=:26270 Content-Type: APPLICATION/octet-stream; name="mrtglog1.1.tar.gz" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="mrtglog1.1.tar.gz" H4sICBMbHDkAA21ydGdsb2cxLjEudGFyAO1YW2+jRhTOK/MrTp1uOjiOAxhw YseRtlIrbZXdPGyiVkqiiuABo8XgwuBNtcp/79zAOMbtuk1SVeU82DNzbt+Z c+bGPKNhnIZm3zzeeykC2xg6DuwBmEPHrP+XZAAMTWNomM7Adhnbch17D5wX Q1SjIqdeBrC3jPIoTOlsm9xf8f+jNF/lXzX7/nP7MA2Wf2Nr/h3DNVn+Dcu0 bMMwBoxtO465B8ZzA2mi/3n+96PEj4spgbOcTqO0PztHa0NxdL8+NvfojI+g /SkJooTA+7e/sAV+6qJlGk2BZNmv+e859tMkp+DPvKyrjxHKaVb4FHiJwRdU JGwuEzKFOE1CiBIKNJqT8ZNxbxklm2NpQZ8OcgNz72FTWjGEymMNBQlzhmKa FvcxUW6qTiUslaMEMG95Wej3RDzQ7bLOUkdfEEK8fjnbT4uE6fFuPVQ6i/Ib c3Di3K3zOIDPafYpSsI6+8d3Fz9AN5iasiu8ZcSb3hfBDZtmJRXEqUfhQXYU bprSKOmxXwa/5y0J67Bf3smnhAUo/nj3PgqZ1FghDwDzwOCbCVg6m5JyP15k LKgAd65zLyQjUDsDnAVRTM5vk44+rkTJQ0SxWRt4RGhlHbNgYAJBuiCJ8LW8 Me960Mk6ug6TCXy4vrjQAWll2XSEJNZZ2LTIWCJHpS9lNAgJzQGrWenx6usB c8KLTAqkGWCZD+bYGKvm2QTYRNuqe3jIo9WCIC7yGZbqWpD7XhLwXq/zJp52 egcifULhrs8rVEjtoMNLa3cdlqZdlUT1/w0l5epx/DVzB9XkgZi9soBrwTIt jOEEurAxDXAMWBarbhr2iTN0uecNGwzRNiMcbLOVXfEL+Lw8K75rGGKQWxFr CQ4n0BDguBLhQJtkxP6hqYVQc3LOfcDBQYmJXXKafOKmWe2CCHPd86YkZ3Qr ySfuJ7s5tOyv9rgSfUQaT4amlqLYh3g2pbNjOHGdU7Wc5e6kmLxVcXdexTxI qGcSqijl5sexL9LPuDHUIwlT75V1ZZXRqC1zuzZnHslAGtRZUdahNea/CSne Beoq3TW0WywIuLCJt1YyTyBPngnkqkL+Acpamal/ufBRDRmzWjZXGwWrqxNV daX7Uk4W3hZBYS//LaNY9jZsVDy5ja7jkMV/CNjqKvVNDGoRVELcjpKS5zQX qqYM1mCUR/RtcurQGSxI5pOEsvMZ0gAKfm5DlI9uk1v67sMI3vTtOIDL66uy eXV5NRItdpo33xGqE1UexYANNvKI/u0La0vPSrX333vvE+EXvGf3wd5/rm1v f/9b1nD1/h8Y/P03cAft++81aB/KtIsz9yMlS/JdXt34F1kaZt683++jy+9/ +jgp33f9tBTppwip5gjgW8zFdKSFvg9HP3txDEeVaMmFo3iOkB8TLxkhLZtD lxthsiNNSba7zGtRbf2XqX3t7z9gmbb6/jMYukP5/ce12vX/GvSn339YRSRi CG39uANzkuf8goi01Y0E3iZclu0nMy+H1PeLjL3k5XcDbSE4WOixbvX9oL1a tNRSSy211FJLLbXUUksttdRSSy29BP0BKBAG7gAoAAA= --0-789027289-958143561=:26270-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message