RAHISTO(1)
π RAHISTO(1) π
okay bestie, welcome to rahisto, a General Commands Manual moment, and honestly? it's giving histogram queen. let's get into it π
β¨ NAME β¨
rahisto β print histogram of metrics from argus(8) data. periodt.
πΈ SYNOPSIS πΈ
rahisto [-M histomode] -H bin[L]:range|size ... [raoptions] [-- filter-expression]
π¦ DESCRIPTION π¦
So here's the tea: rahisto reads argus data from an argus-data source, sorts the records based on whatever criteria you specified on the command line, and then outputs a valid argus-stream. no cap, that's the whole vibe. π
π OPTIONS π
rahisto, 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, iykyk. π
The rahisto(1) specific options are:
-M nozeroβ don't print bins that have zero frequencies. we're not doing empty bins today bestie, they're not the main character.-M outlayerβ print accumulated stats for outlayer values, i.e. the values that are outside the histogram range. those lil outliers still deserve their moment π«Ά-M perflowβ generate multiple histograms. one histogram for each-Hoption will be generated each flow discovered. the flow model is specified with the-moption. See theracluster(1)man page for aggregatable objects. note that no aggregation takes place as a result of the-moption; this is used only to classify flow records. one per flow, we stay busy π-maggregation object β supported aggregation objects are listed in theracluster(1)man page.- *
-H [abs]*metric bin[L]:range|size β specify histogram options, metric, number of bins, whether to use logorithmic scales, and either a range specification to indicate start and stop times, or just the size of each bin. the optionalabsindicates thatrahistoshould use absolute values for the metric. more than one-Hoption can be supplied. one histogram per metric will be calculated for the same input data. stack 'em up, bestie β¨
rahisto supports 112 argus metrics, which include most of the metrics that can be printed. See ra.1 for metric fields that are supported by the ra* programs. the common metrics include:
durβ record total duration.avgdurβ record average duration.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.[s|d]bytesβ [src | dst] transaction bytes.[s|d]appbytesβ [src | dst] application bytes.[s|d]pktsβ [src | dst] packet count.[s|d]meanszβ [src | dst] mean packet size.[s|d]loadβ packets per second.[s|d]lossβ pkts retransmitted or dropped.[s|d]plossβ percent pkts retransmitted or dropped.[s|d]rateβ bits per second.
π§ INVOCATION π§
a sample invocation of rahisto(1). this call reads argus(8) data from inputfile and generates a frequency distribution histogram for the transaction duration for HTTP traffic. look at her go ππ
% rahisto -H dur 10 -r ~/argus/data/argus*out.gz - port http
N = 194 mean = 15.928685 stddev = 23.728876 max = 81.354462 min = 0.008055
median = 0.079948 95% = 59.208977
Class Interval Freq Rel.Freq Cum.Freq
1 0.000000e+00 123 63.4021% 63.4021%
2 8.200000e+00 7 3.6082% 67.0103%
3 1.640000e+01 13 6.7010% 73.7113%
4 2.460000e+01 9 4.6392% 78.3505%
5 3.280000e+01 0 0.0000% 78.3505%
6 4.100000e+01 0 0.0000% 78.3505%
7 4.920000e+01 6 3.0928% 81.4433%
8 5.740000e+01 35 18.0412% 99.4845%
9 6.560000e+01 0 0.0000% 99.4845%
10 7.380000e+01 1 0.5155% 100.0000%
another sample invocation where the call reads argus(8) data from inputfile and generates a frequency distribution histogram for the round-trip time of arp volleys in argus(8) data. arp volleys!! iconic behavior fr fr π₯
% rahisto -H dur 10:0-75u -R /Vol*/Data/Archive/split/*68/2012/0[23] - arp and dur gt 0
N = 360 mean = 0.000028 stddev = 0.000007 max = 0.000066 min = 0.000014
median = 0.000031 95% = 0.000028
mode = 0.000026
Class Interval Freq Rel.Freq Cum.Freq
1 0.000000e+00 0 0.0000% 0.0000%
2 7.500000e-06 2 0.5556% 0.5556%
3 1.500000e-05 63 17.5000% 18.0556%
4 2.250000e-05 188 52.2222% 70.2778%
5 3.000000e-05 71 19.7222% 90.0000%
6 3.750000e-05 23 6.3889% 96.3889%
7 4.500000e-05 10 2.7778% 99.1667%
8 5.250000e-05 2 0.5556% 99.7222%
9 6.000000e-05 1 0.2778% 100.0000%
10 6.750000e-05 0 0.0000% 100.0000%
π COPYRIGHT π
Copyright (c) 2000-2024 QoSient. All rights reserved.
β SEE ALSO β
ra(1), racluster(1), rarc(5), argus(8),
π AUTHORS π
Carter Bullard (carter@qosient.com).
π BUGS π
bestie... there is literally nothing here. the BUGS section is empty. no bugs reported. we love a flawless queen β¨ (or at least, a queen with no documented bugs π)
and that's the whole page, bestie! π this version is rahisto 5.0.3, dated 19 September 2023, and yeah it's the RAHISTO(1) page in the flesh. go make some histograms, you absolute icon ππ
π¦ 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