Weird

Carter Bullard carter at qosient.com
Mon Jun 26 14:03:52 EDT 2006


Hey CS,
    The output of rasplit() is not sorted, rasplit() will write  
records in
FIFO order to the resulting output files, so if you want to
sort them, try this:

    rasort -R /nsm -M replace -v

So, "-R dir" will recurse through the whole directory and process
each argus data file it finds, '-M replace' will replace the old
file with the new sorted file, and -the '-v' will printout a line
after each file, so you know its doing something.  May take
a little while to start if you have 1000's of files to sort, as it
needs to build the list of files to process.

The default is to sort based on the records stime.

Now, I wouldn't go through the entire archive each time,
since rasort() doesn't know whether a file is sorted or not, so
need to sort if its already sorted, but hopefully you get the idea.

Carter


On Jun 26, 2006, at 11:08 AM, CS Lee wrote:

> Thanks carter, it works if i use rasplit.
>
> -- 
> Best Regards,
>
> CS Lee<geek00L[at]gmail.com>
>






More information about the argus mailing list