rasort -N

CS Lee geek00l at gmail.com
Wed Nov 1 07:41:21 EST 2006


Carter,

Apparently -N option is not shown in ra(1) man page either, while it can be
used and of course I prefer if -N is available instead of using head().
However I have read that all the argus clients support ra options, but it is
not working for rasort(racluster works pretty well with -N), I try to use -N
with rasort and it doesn't work so I think piping to ra is what I can do for
the moment. Thanks for the clue :)

On 11/1/06, carter at qosient.com <carter at qosient.com> wrote:
>
> Hmmmm, all ra* programs support the '-N x' option, and it controls how
> many input records will be processed.  You need to read the ra.1 man page
> to see all the ra* options.
>
> Hmmmmmm,  the right thing to do is:
>     rasort -r file -m pkts -w - | ra -N x -w top.x.out
>
> to get the top x pkt generators.  I would use ra() rather that head(), to
> create the binary output of your top x list just in case you also wanted to
> know store it and process it later, like generating an hourly topx, and then
> from all the hourly, generate a daily, monthly, etc.
>
> Sorry if I generated any confusion.
>
> Carter
>
> Carter Bullard
> QoSient LLC
> 150 E. 57th Street Suite 12D
> New York, New York 10022
> +1 212 588-9133 Phone
> +1 212 588-9134 Fax
>
> -----Original Message-----
> From: "CS Lee" <geek00l at gmail.com>
> Date: Wed, 1 Nov 2006 16:21:53
> To:argus-info at lists.andrew.cmu.edu
> Subject: [ARGUS] rasort -N
>
> Carter,
>
> The -N option seems not working for me for rasort and it is not in rasort
> -h or man page either, I'm on rc33. I use head -10 for top 10 since when
> running rasort with -N 10 shows nothing.
>
> Thanks.
>
> --
> Best Regards,
>
> CS Lee<geekooL[at]gmail.com>




-- 
Best Regards,

CS Lee<geekooL[at]gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20061101/26341705/attachment.html>


More information about the argus mailing list