|
Re: lug-bg: sum and sort with bash
- Subject: Re: lug-bg: sum and sort with bash
- From: Ivailo Ivanov <higeronimo@xxxxxxxxx>
- Date: Fri, 22 Oct 2004 04:19:44 -0700 (PDT)
--- Georgi Genov <ggenov@xxxxxxxxxxx> wrote:
> Ivailo Ivanov wrote:
>
> >--- Georgi Genov <ggenov@xxxxxxxxxxx> wrote:
> >
> >
> >
> >>Ivailo Ivanov wrote:
> >>
> >>
> >>
> >>> Zdraveite,
> >>>Imam fail sas sledata struktura:
> >>>
> >>>source-ip-1 dest-ip bytes digit1 digit2 digit3
> >>>source-ip-2 dest-ip bytes digit1 digit2 digit3
> >>>source-ip-1 dest-ip bytes digit1 digit2 digit3
> >>>source-ip-1 dest-ip bytes digit1 digit2 digit3
> >>>-----------------------
> >>>source-ip-n dest-ip bytes digit1 digit2 digit3
> >>>
> >>>Iskam da sortiram source ip-ta ta spriamo
> sumarnite
> >>>bytes ot vsiako ot tiah. Triabva da se polu4i
> >>>
> >>>
> >>neshto
> >>
> >>
> >>>takova, primerno:
> >>>
> >>>1. source-ip-1 10929Mb
> >>>2. source-ip-6 1234Mb
> >>>3. sourceip-24 125Mb
> >>>--------------------
> >>>I taka natatak....
> >>>
> >>>
> >>>
> >209.25.134.7 172.1.1.162 3880868 3880868 1098296995
> 1098297024
> >
> >
> Ð?ма Ñ?ака и не Ñ?азбÑ?аÑ? кое Ñ?
> кое иÑ?каÑ?Ñ? да Ñ?Ñ?миÑ?аÑ? и по
> коÑ? Ñ?Ñ?оиноÑ?Ñ? да
> ги подÑ?ежда Ñ?кÑ?ипÑ?а?
> Ð?Ñ?каÑ? Ñ?Ñ?миÑ?ане на
> опÑ?еделени Ñ?иÑ?ла в Ñ?еда едно
> Ñ? дÑ?Ñ?го, или вÑ?Ñ?ко да Ñ?е
> Ñ?Ñ?миÑ?а Ñ?Ñ?Ñ? Ñ?Ñ?ойноÑ?Ñ?Ñ?а мÑ?
> в нÑ?какÑ?е пÑ?едÑ?оден моменÑ?
> ???
> Ð? Ñ?оÑ?Ñ?иÑ?ане по какво?
>
Prosto iskam da mi se porediat sorces po napraven
trafik ot tiah kam, koito i da e destination. Kato
razbira se kato ima niakolko zapisa na edin i sashti
source da mu se sumirat baitovete. I naprimer ako
trafika e nai goliam ot 1.2.3.4 da izleze nai otgore
sas saotvetnata stionost na sumarnia trafik ot nego
sled tova vtoria po trafik i.t.n. Po dobre ot tova ne
moga da go opisha. Blagodaria za scriptovete i
vnimanieto.
============================================================================
> A mail-list of Linux Users Group - Bulgaria
> (bulgarian linuxers).
> http://www.linux-bulgaria.org - Hosted by Internet
> Group Ltd. - Stara Zagora
> To unsubscribe:
> http://www.linux-bulgaria.org/public/mail_list.html
>
============================================================================
>
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|
|
|