RASORT(1)
πΈ RASORT(1) β the rasort manual page, bestie edition πΈ
okay so real talk: this is the manual page for rasort from the General Commands Manual section of your friendly neighborhood man pages. she's a sorting girlie. let's get into it π
β¨ NAME β¨
rasort β sort argus(8) data file.
π¦ SYNOPSIS π¦
rasort [[-M sortmode] [-m sort fields] ...] [raoptions] [-- filter-expression]
π DESCRIPTION π
So basically Rasort reads argus data from an argus-data source, sorts the records based on the criteria you specify on the command line, and then outputs a valid argus-stream. that's it. that's the whole vibe. clean input, sorted output, no cap β¨
π OPTIONS π
Rasort, like literally 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, because she has the full tea π«
the rasort(1) specific options are:
-M replaceβ replaces the existing file(s) with the sorted output(s). like, out with the old, in with the sorted β¨-m field [field ...]β picks your sort fields, bestie. here's every single one she supports:stimeβ record start time <default> (she's the default, main character energy fr)ltimeβ record last time.transβ aggregation record count.durβ record total duration.avgdurβ record average duration.mindurβ record minimum duration.maxdurβ record maximum duration.smacβ source MAC addr.dmacβ destination MAC addr.souiβ oui portion of the source MAC addr.douiβ oui portion of the destination MAC addr.saddr[/cidr]β source IP addr, with optional cidr specification for IPv4 addresses.daddr[/cidr]β destination IP addr, with optional cidr specification for IPv4 addresses.protoβ transaction protocol.sportβ source port number.dportβ destination port number.stosβ source TOS byte value.dtosβ destination TOS byte value.sttlβ src -> dst TTL value.dttlβ dst -> src TTL value.bytesβ total transaction bytes.sbytesβ src -> dst transaction bytes.dbytesβ dst -> src transaction bytes.pktsβ total transaction packet count.spktsβ src -> dst packet count.dpktsβ dst -> src packet count.loadβ bits per second.sloadβ source bits per second.dloadβ destination bits per second.lossβ pkts retransmitted or dropped.slossβ source pkts retransmitted or dropped.dlossβ destination pkts retransmitted or dropped.plossβ percent pkts retransmitted or dropped.splossβ percent source pkts retransmitted or dropped.dplossβ percent destination pkts retransmitted or dropped.rateβ pkts per second.srateβ source pkts per second.drateβ destination pkts per second.tranrefβ argus transaction reference number.seqβ argus sequence number.smplsβ source MPLS identifier.dmplsβ destination MPLS identifier.svlanβ source VLAN identifier.dvlanβ destination VLAN identifier.srcidβ argus source identifier.stcpbβ source TCP base sequence number.dtcpbβ destination TCP base sequence number.tcprttβ TCP connection setup round-trip time.smeanszβ source mean packet sizedmeanszβ destination mean packet sizescoβ source country codedcoβ destination country codesasβ source autonomous system numberdasβ destination autonomous system number
π INVOCATION π
here's a sample invocation of rasort(1), because seeing it is believing it. 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. it's giving organized π§
rasort -r inputfile -m daddr dport saddr - ip
π COPYRIGHT π
Copyright (c) 2000-2024 QoSient. All rights reserved.
π SEE ALSO π
π FILES π
(no entries here bestie, this section is empty in the original too β she said nothing to declare π)
π AUTHORS π
Carter Bullard (carter@qosient.com).
π BUGS π
(also empty in the original. iconic behavior honestly, no known bugs on the record β¨)
and that's the whole page, periodt. this wasrasort 5.0.3, dated 21 April 2023, straight from theRASORT(1)corner of the manual. go forth and sort your argus data, bestie, you're gonna slay π«Άπ
π¦ where this page comes from
- debian trixie: argus-client 1:5.0.2+git20250321.41f65e2-2 Β· GPL-2.0-or-later
- ubuntu questing: argus-client 1:5.0.2+git20250321.41f65e2-2ubuntu1
- ubuntu resolute: argus-client 1:5.0.2+git20250321.41f65e2-2ubuntu2 Β· GPL-2.0-or-later
- ubuntu stonking: argus-client 1:5.0.2+git20250321.41f65e2-2ubuntu2 Β· GPL-2.0-or-later
- Copyright (c) 2000-2024 QoSient, LLC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms