logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

sc_wartsfilter — select specific records from a warts file

Authors

sc_wartsfilter was written by Matthew Luckie.

Debian                                          November 21, 2019                              SC_WARTSFILTER(1)

Description

       The  sc_wartsfilter utility selects specific records from warts(5) input, and outputs those records.  The
       supported options to sc_wartsfilter are as follows:

       -aaddress
               specifies an address or prefix of interest.

       -iinput-file
               specifies the input warts file to process.

       -ooutput-file
               specifies the output warts file to write records to.

       -Ooption
               allows the behavior of sc_wartsfilter to be further  tailored.   The  current  choices  for  this
               option are:
                 -check-hops: Check if an address of an intermediate hop in a trace or tracelb object matches.

       -trecord-type
               specifies a record type of interest.  The current choices for this option are:
                 -dealias-ping-tbit-trace-tracelb

Examples

       The command:

          sc_wartsfilter -i input.warts -o output.warts -a 192.0.2.5

       outputs all warts records with a destination address 192.0.2.5 from input.warts into output.warts.

       The command:

          sc_wartsfilter -i input.warts -o output.warts -a 2001:db8::/32

       outputs all warts records with a destination address within the 2001:db8::/32 prefix into output.warts.

       The command:

          gzcat input.warts.gz | sc_wartsfilter -t ping | sc_warts2json

       selects all ping records from a decompressed input file and and pipes them to sc_warts2json.

Name

       sc_wartsfilter — select specific records from a warts file

See Also

scamper(1), sc_warts2json(1), sc_wartsdump(1), warts(5)

Synopsis

sc_wartsfilter [-aaddress] [-iinput-file] [-ooutput-file] [-Ooption] [-trecord-type]

See Also