Scroll to navigation

RASORT(1) General Commands Manual RASORT(1)

NAME

rasort - sort argus(8) data file.

SYNOPSIS

rasort [[-M sortmode] [-m sort fields] ...] [raoptions] [-- filter-expression]

DESCRIPTION

Rasort reads argus data from an argus-data source, sorts the records based on the criteria specified on the command line, and outputs a valid argus-stream.

OPTIONS

Rasort, like all ra based clients, supports a number of ra options including filtering of input argus records through a terminating filter expression. See ra(1) for a complete description of ra options. rasort(1) specific options are:

Replace the existing file(s) with the sorted output(s).

Supported sort fields are:

record start time <default>
record last time.
aggregation record count.
record total duration.
record average duration.
record minimum duration.
record maximum duration.
source MAC addr.
destination MAC addr.
oui portion of the source MAC addr.
oui portion of the destination MAC addr.
source IP addr, with optional cidr specification for IPv4 addresses.
destination IP addr, with optional cidr specification for IPv4 addresses.
transaction protocol.
source port number.
destination port number.
source TOS byte value.
destination TOS byte value.
src -> dst TTL value.
dst -> src TTL value.
total transaction bytes.
src -> dst transaction bytes.
dst -> src transaction bytes.
total transaction packet count.
src -> dst packet count.
dst -> src packet count.
bits per second.
source bits per second.
destination bits per second.
pkts retransmitted or dropped.
source pkts retransmitted or dropped.
destination pkts retransmitted or dropped.
percent pkts retransmitted or dropped.
percent source pkts retransmitted or dropped.
percent destination pkts retransmitted or dropped.
pkts per second.
source pkts per second.
destination pkts per second.
argus transaction reference number.
argus sequence number.
source MPLS identifier.
destination MPLS identifier.
source VLAN identifier.
destination VLAN identifier.
argus source identifier.
source TCP base sequence number.
destination TCP base sequence number.
TCP connection setup round-trip time.
source mean packet size
destination mean packet size
source country code
destination country code
source autonomous system number
destination autonomous system number

INVOCATION

A sample invocation of rasort(1). This call reads argus(8) data from inputfile and sorts the IP protocol based argus(8) data, first by the destination IP address, then by the service (destination) port number and then by the source IP address, and writes the results to stdout. For most services, this arranges argus(8) formatted data by server, service, and then by client.

COPYRIGHT

Copyright (c) 2000-2016 QoSient. All rights reserved.

SEE ALSO

ra(1), rarc(5), argus(8),

FILES

AUTHORS

Carter Bullard (carter@qosient.com).

BUGS

07 November 2000 rasort 3.0.8