RACOUNT(1)

πŸ“¦
version 5.0.2+git20250321.41f65e2 Β· 2 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ RACOUNT ✨

okay bestie, gather round, because racount from the General Commands Manual section 1 is literally the counting queen and she's about to eat πŸ’…


🌸 NAME 🌸

racount β€” count things from an argus(8) data file/stream. yes that's the whole job. she counts. she slays. periodt.


πŸŽ€ SYNOPSIS πŸŽ€

racount [-M addr proto] [raoptions] [-- filter-expression]

πŸ’– DESCRIPTION πŸ’–

so racount reads argus data from an argus-file list, and prints out various counts from the data in the file. that's it, that's the vibe πŸ¦‹

and by default? she gives you a single line output that provides total records and pkt and byte counts, broken down by source and destination. lowkey iconic.


✨ OPTIONS ✨

racount, like all ra based clients, supports a number of ra options including filtering of input argus records through a terminating filter expression. for the full tea on ra options, go read ra(1). iykyk 🫢

now, the racount specfic options are:

  • -M modes β€” the mode selector bestie

Supported modes are:

  • proto β€” Print a count breakdown on protocols seen. racount will report on IP protocols, ether protocols, arp, rarp and unknowwn.
not me noticing the original spells it "unknowwn" 😭 keeping it EXACTLY as written, no cap.
  • addr β€” Print a summary report of the occurence of the various types of network addresses encountered. the current list of IANA standard network address types include:
    • IPv4 Unicast: ThisNet, Reserved, LoopBack, LinkLocal, TestNet and Private
    • IPv4 Multicast: Local, Internet, AdHoc, Reserved, SdpSap, Nasdaq, DisTrans, SrcSpec, Glop, Admin, OrgLocal and SiteLocal
    • IPv6: Loopback, LinkLocal, SiteLocal, Global, V4Compat, V4Mapped and Unspecified
    • IPv6 Multicast: NodeLocal, MulticastLinkLocal, MulticastSiteLocal, MulticastOrgLocal and MulticastGlobal

πŸ”₯ EXAMPLE INVOCATION πŸ”₯

first up: running racount against a single argus data file, generating the default output. she's simple, she's clean, she's giving minimalism πŸ’…

% racount -r argus.2012.02.13.17.20.00.out.gz
racount   records     total_pkts     src_pkts       dst_pkts       total_bytes        src_bytes          dst_bytes
    sum   336         21319          9266           12053          16954495           1329172            15625323

next up: running racount against a directory containing argus data, generating a protocol breakdown as well as generating a network address summary. now THAT'S main character energy πŸ‘‘

% racount -M proto addr -r argus.2012.02.13.17.20.00.out.gz
racount   records     total_pkts     src_pkts       dst_pkts       total_bytes        src_bytes          dst_bytes
    sum   336         21319          9266           12053          16954495           1329172            15625323
Protocol Summary
    udp   1           28             28             0              14692              14692              0
     ip   222         20751          8891           11860          16799531           1238670            15560861
    udp   103         513            324            189            138274             74068              64206
    udp   1           1              1              0              422                422                0
    arp   7           16             12             4              936                680                256
Address Summary
  IPv4 Unicast              src 0           dst 40
  IPv4 Unicast Private      src 6           dst 3
  IPv6 LinkLocal            src 3           dst 0
  IPv6 Multicast Link Local src 0           dst 3

Copyright (c) 2000-2024 QoSient. All rights reserved.


🌈 AUTHORS 🌈

Carter Bullard (carter@qosient.com).


πŸ¦‹ SEE ALSO πŸ¦‹

ra(1), rarc(5), argus(8)


and that's the whole page bestie πŸ₯Ή this was racount version 5.0.3, dated 07 November 2015, straight from the RACOUNT(1) manual. go count something, you absolute legend πŸ’–βœ¨πŸŽ€