artsprotos - utility to display protocol table objects from ARTS files
artsprotos [-v] [-n] [-p] [-i ifIndexList] [-b beginTime]
[-e endTime] infile(s)
artsprotos is a utility that reads protocol table objects from ARTS files
(infile(s)) and displays a summary of their contents on stdout.
- -v
- The -v option causes artsprotos to print version information
and exit immediately.
- -n
- The -n option causes artsprotos to print protocol numbers
instead of trying to print protocol names (usually stored in
/etc/protocols). The default (without the -n option) tries to print
protocol names (only print numbers when we can't find the protocol name
for a given protocol number).
- -p
- The -p option will cause the entries to be sorted in descending
order by packet count before being printed on stdout. The default is to
sort in descending order by byte count.
- -i ifIndex
- The -i ifIndexList option permits selecting only data for a
specific input interface or set of input interfaces. Selection is by the
interface's ifIndex stored in the attribute section of the Arts
objects.
- -b beginTime
- The -b beginTime option may be used to select only the data which
is from a time period at or later than beginTime. beginTime
must be of the form 'MM/DD/CCYY hh:mm:ss' and must be enclosed in quotes.
Example:
'8/31/1999 09:00:00'
- -e endTime
- The -e endTime option may be used to select only the data which is
from a time period at or before endTime. endTime must be of
the form 'MM/DD/CCYY hh:mm:ss' and must be enclosed in quotes. Example:
'8/31/1999 09:00:00'
- artsprotos -i 1,5 -b '8/21/1998 09:00:00' arts.19980821
artsagg(l), artsprotoagg(), artsdump(l), artsases(l), artsasagg(l), artsnets(l),
artsnetagg(l), artsportmagg(l), artsportms(l), artsports(l), artsintfms(l),
artsintfmagg(l), artsnexthops(l), artsnexthopagg(l), artstos(l), artstoc(l)
artsprotos and documentation written by Daniel W. McRobb
CAIDA, August 1998