Real time capture of argus data.

Peter Van Epp vanepp at sfu.ca
Wed Jan 16 19:41:11 EST 2008


On Thu, Jan 17, 2008 at 12:27:02AM +0000, Robert Leyba wrote:
> Hi,
>    I've been looking for a way to capture live argus data and pipe the output  
> to screen or file or external program.  I tried various combinations of the ra 
> command in conjunction with the "tail" command but I don't think the ra command 
> works correctly with it.   I searched the forums but didn't find something on 
> it.
> 
>    Any help or suggestions would be appreciated.
> 
> thanks
> 
> --robert

ra -w - 

in a pipe should do what you want. 

       -w <file> [filter-expression]
           Append matching data to <file>, in argus file  format.  An  output-
           file  of  '-'  directs  ra to write the argus(5) records to stdout,
           allowing for "chaining" ra* style commands together.  The  optional
           filter-expression can be used to select specific output.

Peter Van Epp / Operations and Technical Support 
Simon Fraser University, Burnaby, B.C. Canada



More information about the argus mailing list