| 1 |
.\" |
| 2 |
.\" Argus-5.0 Software |
| 3 |
.\" Copyright (c) 2000-2024 QoSient, LLC |
| 4 |
.\" All rights reserved. |
| 5 |
.\" |
| 6 |
.\" |
| 7 |
.TH RACOUNT 1 "07 November 2015" "racount 5.0.3" |
| 8 |
.SH NAME |
| 9 |
\fBracount\fP \- count things from an \fBargus(8)\fP data file/stream. |
| 10 |
.SH SYNOPSIS |
| 11 |
.B racount |
| 12 |
.I [-M addr proto] [\fBraoptions\fP] [\fB--\fP \fIfilter-expression\fP] |
| 13 |
|
| 14 |
.SH DESCRIPTION |
| 15 |
.IX "racount command" "" "\fLracount\fP \(em argus data" |
| 16 |
.LP |
| 17 |
.B Racount |
| 18 |
reads |
| 19 |
.BR argus |
| 20 |
data from an \fIargus-file\fP list, and prints out various |
| 21 |
counts from the data in the file. Racount supports, by default, a single line |
| 22 |
output that provide total records and pkt and byte counts, broken down by |
| 23 |
source and destination. |
| 24 |
|
| 25 |
.LP |
| 26 |
.SH OPTIONS |
| 27 |
Racount, like all ra based clients, supports a number of |
| 28 |
\fBra options\fP including filtering of input argus |
| 29 |
records through a terminating filter expression. |
| 30 |
See \fBra(1)\fP for a complete description of \fBra options\fP. |
| 31 |
|
| 32 |
\fBracount\fP specfic options are: |
| 33 |
.PP |
| 34 |
.PD 0 |
| 35 |
.TP 4 4 |
| 36 |
.BI \-M "\| modes\^" |
| 37 |
Supported modes are: |
| 38 |
.PP |
| 39 |
.RS |
| 40 |
.TP 8 |
| 41 |
.B proto |
| 42 |
Print a count breakdown on protocols seen. \fBracount\fP will report on IP protocols, ether protocols, arp, rarp and unknowwn. |
| 43 |
|
| 44 |
.TP |
| 45 |
.B addr |
| 46 |
Print a summary report of the occurence of the various types of network |
| 47 |
addresses encountered. The current list of IANA standard network address types include: |
| 48 |
IPv4 Unicast ThisNet, Reserved, LoopBack, LinkLocal, TestNet and Private |
| 49 |
IPv4 Multicast Local, Internet, AdHoc, Reserved, SdpSap, Nasdaq, DisTrans, SrcSpec, Glop, Admin, OrgLocal and SiteLocal |
| 50 |
IPv6 Loopback, LinkLocal, SiteLocal, Global, V4Compat, V4Mapped and Unspecified |
| 51 |
IPv6 MulticastNodeLocal, MulticastLinkLocal, MulticastSiteLocal, MulticastOrgLocal and MulticastGlobal |
| 52 |
|
| 53 |
.SH EXAMPLE INVOCATION |
| 54 |
|
| 55 |
This example runs \fBracount\fP against a single argus data file, generating the default output. |
| 56 |
|
| 57 |
.nf |
| 58 |
.ft CW |
| 59 |
.ps 6 |
| 60 |
.vs 7 |
| 61 |
% racount -r argus.2012.02.13.17.20.00.out.gz |
| 62 |
racount records total_pkts src_pkts dst_pkts total_bytes src_bytes dst_bytes |
| 63 |
sum 336 21319 9266 12053 16954495 1329172 15625323 |
| 64 |
.vs |
| 65 |
.ps |
| 66 |
.ft P |
| 67 |
.fi |
| 68 |
|
| 69 |
This example runs \fBracount\fP against a directory containing argus data, generating a protocol breakdown |
| 70 |
as well as generating a network address summary. |
| 71 |
|
| 72 |
.nf |
| 73 |
.ft CW |
| 74 |
.ps 6 |
| 75 |
.vs 7 |
| 76 |
% racount -M proto addr -r argus.2012.02.13.17.20.00.out.gz |
| 77 |
racount records total_pkts src_pkts dst_pkts total_bytes src_bytes dst_bytes |
| 78 |
sum 336 21319 9266 12053 16954495 1329172 15625323 |
| 79 |
Protocol Summary |
| 80 |
udp 1 28 28 0 14692 14692 0 |
| 81 |
ip 222 20751 8891 11860 16799531 1238670 15560861 |
| 82 |
udp 103 513 324 189 138274 74068 64206 |
| 83 |
udp 1 1 1 0 422 422 0 |
| 84 |
arp 7 16 12 4 936 680 256 |
| 85 |
Address Summary |
| 86 |
IPv4 Unicast src 0 dst 40 |
| 87 |
IPv4 Unicast Private src 6 dst 3 |
| 88 |
IPv6 LinkLocal src 3 dst 0 |
| 89 |
IPv6 Multicast Link Local src 0 dst 3 |
| 90 |
.fi |
| 91 |
.vs |
| 92 |
.ps |
| 93 |
.ft P |
| 94 |
|
| 95 |
.SH COPYRIGHT |
| 96 |
Copyright (c) 2000-2024 QoSient. All rights reserved. |
| 97 |
.SH AUTHORS |
| 98 |
.nf |
| 99 |
Carter Bullard ([email protected]). |
| 100 |
.fi |
| 101 |
.SH SEE ALSO |
| 102 |
.BR ra (1), |
| 103 |
.BR rarc (5), |
| 104 |
.BR argus (8) |