IFMCSTAT(8)
π IFMCSTAT(8) β like, the multicast group management tea, per interface
okay so bestie, welcome to the System Manager's Manual page for ifmcstat π this is the one that spills the multicast group management stats, interface by interface. get comfy, it's giving very demure, very mindful kernel inspection β¨
β¨ NAME β¨
ifmcstat β dump multicast group management statistics per interface π¦
πΈ SYNOPSIS πΈ
ifmcstat [-i interface] [-f address-family] [-v] [-K] [-M core]
[-N system]
π DESCRIPTION π
the ifmcstat command dumps multicast group information from the kernel. like literally straight from the kernel, no cap π
here's the options it supports, bestie:
-iinterface β specifies the interface to be displayed π-faddress-family β specifies the address family to be displayed;inet,inet6andlinkare supported π«-vβ specifies that link-layer memberships should be printed; they are suppressed by default. it may not be specified for-f link. source lists for each group will also be printed π«Ά
also, if you specify it twice, andkvm(3)is in use, the control plane timers for each interface and the source list counters for each group will also be printed π twice the-v, twice the lore.
the following options are only available if ifmcstat has been built with support for kvm(3):
-Kβ attempts to usekvm(3)to retrieve the multicast group information π₯-Mcore β extracts values associated with the name list from the specified core, instead of the default/dev/kmemπ-Nsystem β extracts the name list from the specified kernel instead of the default, which is the kernel image the system has booted from π
π§ IMPLEMENTATION NOTES π§
ifmcstat will always print the embedded scope IDs of IPv6 multicast group memberships. this is because memberships are always scoped to an interface β it's giving "bound to the interface, periodt" π
when run with the -v option, ifmcstat may print multicast MAC addresses twice if they are referenced by a layer 3 protocol. not a bug bestie, just double the slay π
when run with kvm(3) support, the names of all interfaces configured in the system will be printed in the first column of output, even if no multicast group memberships are present on those interfaces π (yes, even the boring empty ones, they're all main characters). the output may also be slightly different, as the kernel data structures are being traversed with minimal post-processing of the output.
when built without kvm(3) support, the information displayed by ifmcstat is more limited. this support is recommended for debugging purposes. it requires super-user privilege if used to inspect a running kernel π
β οΈ heads up: super-user privilege check is real β don't come for a running kernel without it.
π¦ SEE ALSO π¦
netstat(1), getifaddrs(3), getifmaddrs(3), kvm(3)
and that's the whole vibe check bestie π this page came from Debian, dated May 27, 2009 β kinda vintage, but she still ate, fr fr πΈβ¨π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2007-2009 Bruce Simpson
- Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms