Debian Codegraph @

man/man1/rahisto.1

raw
1 .\"
2 .\" Argus-5.0 Software
3 .\" Copyright (c) 2000-2024 QoSient, LLC
4 .\" All rights reserved.
5 .\"
6 .\"
7 .TH RAHISTO 1 "19 September 2023" "rahisto 5.0.3"
8 .SH NAME
9 \fBrahisto\fP \- print histogram of metrics from \fBargus(8)\fP data.
10 .SH SYNOPSIS
11 .B rahisto
12 [\fB\-M\fP \fIhistomode\fP] \fB\-H\fP \fIbin[L]:range|size\fP ...
13 [\fBraoptions\fP] [\fB--\fP \fIfilter-expression\fP]
14 .SH DESCRIPTION
15 .IX "rahisto command" "" "\fLrahisto\fP \(em argus data"
16 .LP
17 .B Rahisto
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 Rahisto, 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 \fBrahisto(1)\fP specific options are:
29 .PP
30 .PD 0
31 .TP 4 4
32 .B \-M nozero
33 Don't print bins that have zero frequencies.
34 .TP 4 4
35 .B \-M outlayer
36 Print accumulated stats for outlayer values, i.e. the values that
37 are outside the histogram range.
38 .TP 4 4
39 .B \-M perflow
40 Generate multiple histograms.
41 One histogram for each -H option will be generated each flow
42 discovered.
43 The flow model is specified with the -m option.
44 See the racluster(1) man page for aggregatable objects.
45 Note that no aggregation takes place as a result of the -m option;
46 this is used only to classify flow records.
47 .TP 4 4
48 .BI \-m "\| aggregation object\^"
49 Supported aggregation objects are listed in the
50 \fBracluster(1)\fP
51 man page.
52 .TP 4 4
53 .BI \-H "\| [abs] metric bin[L]:range | size\^"
54 Specify histogram options, metric, number of bins, whether to use
55 logorithmic scales, and either a range specification to indicate
56 start and stop times, or just the size of each bin. The optional 'abs'
57 indicates that rahisto should use absolute values for the metric.
58 More than one -H option can be supplied.
59 One histogram per metric will be calculated for the same input data.
60
61 .TP 5
62 Rahisto supports 112 argus metrics, which include most of the metrics
63 that can be printed. See ra.1 for metric fields that are supported by
64 the ra* programs. The common metrics include:
65 .PP
66 .RS
67 .TP 15
68 .B dur
69 record total duration.
70 .TP
71 .B avgdur
72 record average duration.
73 .TP
74 .B proto
75 transaction protocol.
76 .TP
77 .B sport
78 source port number.
79 .TP
80 .B dport
81 destination port number.
82 .TP
83 .B stos
84 source TOS byte value.
85 .TP
86 .B dtos
87 destination TOS byte value.
88 .TP
89 .B sttl
90 src -> dst TTL value.
91 .TP
92 .B dttl
93 dst -> src TTL value.
94 .TP
95 .B [s|d]bytes
96 [src | dst] transaction bytes.
97 .TP
98 .B [s|d]appbytes
99 [src | dst] application bytes.
100 .TP
101 .B [s|d]pkts
102 [src | dst] packet count.
103 .TP
104 .B [s|d]meansz
105 [src | dst] mean packet size.
106 .TP
107 .B [s|d]load
108 packets per second.
109 .TP
110 .B [s|d]loss
111 pkts retransmitted or dropped.
112 .TP
113 .B [s|d]ploss
114 percent pkts retransmitted or dropped.
115 .TP
116 .B [s|d]rate
117 bits per second.
118 .PD
119 .RE
120
121 .SH INVOCATION
122 A sample invocation of \fBrahisto(1)\fP. This call reads \fBargus(8)\fP data
123 from \fBinputfile\fP and generates a frequency distribution histogram for
124 the transaction duration for HTTP traffic.
125
126 .nf
127 .ft CW
128 .ps 8
129 .vs 8
130 % rahisto -H dur 10 -r ~/argus/data/argus*out.gz - port http
131 N = 194 mean = 15.928685 stddev = 23.728876 max = 81.354462 min = 0.008055
132 median = 0.079948 95% = 59.208977
133 Class Interval Freq Rel.Freq Cum.Freq
134 1 0.000000e+00 123 63.4021% 63.4021%
135 2 8.200000e+00 7 3.6082% 67.0103%
136 3 1.640000e+01 13 6.7010% 73.7113%
137 4 2.460000e+01 9 4.6392% 78.3505%
138 5 3.280000e+01 0 0.0000% 78.3505%
139 6 4.100000e+01 0 0.0000% 78.3505%
140 7 4.920000e+01 6 3.0928% 81.4433%
141 8 5.740000e+01 35 18.0412% 99.4845%
142 9 6.560000e+01 0 0.0000% 99.4845%
143 10 7.380000e+01 1 0.5155% 100.0000%
144 .vs
145 .ps
146 .ft P
147
148 .fi
149
150 A sample invocation where the call reads \fBargus(8)\fP data
151 from \fBinputfile\fP and generates a frequency distribution histogram for
152 the round-trip time of arp volleys in \fBargus(8)\fP data.
153
154 .nf
155 .ft CW
156 .ps 8
157 .vs 8
158 % rahisto -H dur 10:0-75u -R /Vol*/Data/Archive/split/*68/2012/0[23] - arp and dur gt 0
159 N = 360 mean = 0.000028 stddev = 0.000007 max = 0.000066 min = 0.000014
160 median = 0.000031 95% = 0.000028
161 mode = 0.000026
162 Class Interval Freq Rel.Freq Cum.Freq
163 1 0.000000e+00 0 0.0000% 0.0000%
164 2 7.500000e-06 2 0.5556% 0.5556%
165 3 1.500000e-05 63 17.5000% 18.0556%
166 4 2.250000e-05 188 52.2222% 70.2778%
167 5 3.000000e-05 71 19.7222% 90.0000%
168 6 3.750000e-05 23 6.3889% 96.3889%
169 7 4.500000e-05 10 2.7778% 99.1667%
170 8 5.250000e-05 2 0.5556% 99.7222%
171 9 6.000000e-05 1 0.2778% 100.0000%
172 10 6.750000e-05 0 0.0000% 100.0000%
173
174 .vs
175 .ps
176 .ft P
177 .fi
178
179 .SH COPYRIGHT
180 Copyright (c) 2000-2024 QoSient. All rights reserved.
181
182 .SH SEE ALSO
183 .BR ra(1),
184 .BR racluster(1),
185 .BR rarc(5),
186 .BR argus(8),
187
188 .SH AUTHORS
189 .nf
190 Carter Bullard ([email protected]).
191 .fi
192 .SH BUGS