Debian Codegraph @

man/man1/rasort.1

raw
1 .\"
2 .\" Argus-5.0 Software
3 .\" Copyright (c) 2000-2024 QoSient, LLC
4 .\" All rights reserved.
5 .\"
6 .\"
7 .TH RASORT 1 "21 April 2023" "rasort 5.0.3"
8 .SH NAME
9 \fBrasort\fP \- sort \fBargus(8)\fP data file.
10 .SH SYNOPSIS
11 .B rasort
12 [[\fB\-M\fP \fIsortmode\fP] [\fB\-m\fP \fIsort fields\fP] ...]
13 [\fBraoptions\fP] [\fB--\fP \fIfilter-expression\fP]
14 .SH DESCRIPTION
15 .IX "rasort command" "" "\fLrasort\fP \(em argus data"
16 .LP
17 .B Rasort
18 reads
19 .BR argus
20 data from an \fIargus-data\fP source, sorts the records based on
21 the criteria specified on the command line, and outputs a valid
22 \fIargus-stream\fP.
23 .SH OPTIONS
24 Rasort, like all ra based clients, supports a number of
25 \fBra options\fP including filtering of input argus
26 records through a terminating filter expression.
27 See \fBra(1)\fP for a complete description of \fBra options\fP.
28 \fBrasort(1)\fP specific options are:
29 .PP
30 .PD 0
31 .TP 4
32 .B \-M replace
33 Replace the existing file(s) with the sorted output(s).
34
35 .TP 4
36 .BI \-m "\| field [field ...]\^"
37 Supported sort fields are:
38 .PP
39 .RS
40 .TP 15
41 .B stime
42 record start time <default>
43 .TP
44 .B ltime
45 record last time.
46 .TP
47 .B trans
48 aggregation record count.
49 .TP
50 .B dur
51 record total duration.
52 .TP
53 .B avgdur
54 record average duration.
55 .TP
56 .B mindur
57 record minimum duration.
58 .TP
59 .B maxdur
60 record maximum duration.
61 .TP
62 .B smac
63 source MAC addr.
64 .TP
65 .B dmac
66 destination MAC addr.
67 .TP
68 .B soui
69 oui portion of the source MAC addr.
70 .TP
71 .B doui
72 oui portion of the destination MAC addr.
73 .TP
74 .B saddr[/cidr]
75 source IP addr, with optional cidr specification for IPv4 addresses.
76 .TP
77 .B daddr[/cidr]
78 destination IP addr, with optional cidr specification for IPv4 addresses.
79 .TP
80 .B proto
81 transaction protocol.
82 .TP
83 .B sport
84 source port number.
85 .TP
86 .B dport
87 destination port number.
88 .TP
89 .B stos
90 source TOS byte value.
91 .TP
92 .B dtos
93 destination TOS byte value.
94 .TP
95 .B sttl
96 src -> dst TTL value.
97 .TP
98 .B dttl
99 dst -> src TTL value.
100 .TP
101 .B bytes
102 total transaction bytes.
103 .TP
104 .B sbytes
105 src -> dst transaction bytes.
106 .TP
107 .B dbytes
108 dst -> src transaction bytes.
109 .TP
110 .B pkts
111 total transaction packet count.
112 .TP
113 .B spkts
114 src -> dst packet count.
115 .TP
116 .B dpkts
117 dst -> src packet count.
118 .TP
119 .B load
120 bits per second.
121 .TP
122 .B sload
123 source bits per second.
124 .TP
125 .B dload
126 destination bits per second.
127 .TP
128 .B loss
129 pkts retransmitted or dropped.
130 .TP
131 .B sloss
132 source pkts retransmitted or dropped.
133 .TP
134 .B dloss
135 destination pkts retransmitted or dropped.
136 .TP
137 .B ploss
138 percent pkts retransmitted or dropped.
139 .TP
140 .B sploss
141 percent source pkts retransmitted or dropped.
142 .TP
143 .B dploss
144 percent destination pkts retransmitted or dropped.
145 .TP
146 .B rate
147 pkts per second.
148 .TP
149 .B srate
150 source pkts per second.
151 .TP
152 .B drate
153 destination pkts per second.
154 .TP
155 .B tranref
156 argus transaction reference number.
157 .TP
158 .B seq
159 argus sequence number.
160 .TP
161 .B smpls
162 source MPLS identifier.
163 .TP
164 .B dmpls
165 destination MPLS identifier.
166 .TP
167 .B svlan
168 source VLAN identifier.
169 .TP
170 .B dvlan
171 destination VLAN identifier.
172 .TP
173 .B srcid
174 argus source identifier.
175 .TP
176 .B stcpb
177 source TCP base sequence number.
178 .TP
179 .B dtcpb
180 destination TCP base sequence number.
181 .TP
182 .B tcprtt
183 TCP connection setup round-trip time.
184 .TP
185 .B smeansz
186 source mean packet size
187 .TP
188 .B dmeansz
189 destination mean packet size
190 .TP
191 .B sco
192 source country code
193 .TP
194 .B dco
195 destination country code
196 .TP
197 .B sas
198 source autonomous system number
199 .TP
200 .B das
201 destination autonomous system number
202
203 .PD
204 .RE
205
206 .SH INVOCATION
207 A sample invocation of \fBrasort(1)\fP. This call reads \fBargus(8)\fP data
208 from \fBinputfile\fP and sorts the IP protocol based \fBargus(8)\fP data, first
209 by the destination IP address, then by the service (destination) port number
210 and then by the source IP address, and writes the results to stdout.
211 For most services, this arranges \fBargus(8)\fP formatted data by server,
212 service, and then by client.
213 .TP 5
214 \fBrasort\fP -r inputfile -m daddr dport saddr - ip
215
216 .SH COPYRIGHT
217 Copyright (c) 2000-2024 QoSient. All rights reserved.
218 .SH SEE ALSO
219 .BR ra(1),
220 .BR rarc(5),
221 .BR argus(8),
222 .SH FILES
223
224 .SH AUTHORS
225 .nf
226 Carter Bullard ([email protected]).
227 .fi
228 .SH BUGS