rasort -N

carter at qosient.com carter at qosient.com
Wed Nov 1 06:32:19 EST 2006


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> 


More information about the argus mailing list