RTMON(8)
๐ RTMON(8) ๐ โ System Manager's Manual
โจ NAME โจ
okay so rtmon is the bestie that listens to and monitors RTnetlink ๐ฆ
๐ SYNOPSIS ๐
rtmon [ OPTIONS ] file FILE [ all | OBJECTS ]
OPTIONS := { f[amily] { inet | inet6 | link | help } | -4 | -6 | -0 |
-V[ersion] }
OBJECTS := [ link ] [ address ] [ route ]
๐ธ DESCRIPTION ๐ธ
okay so this manual page briefly documents the rtmon command ๐
rtmon listens on the netlink socket and monitors routing table changes, no cap ๐ฅ
rtmon can be started before the first network configuration command is issued. Main character timing ๐ For example, if you insert:
rtmon file /var/log/rtmon.log
in a startup script, you will be able to view the full history later ๐ง Certainly, it is possible to start rtmon at any time. It prepends the history with the state snapshot dumped at the moment of starting โจ
๐ OPTIONS ๐
rtmon supports the following options, bestie:
-Versionโ Print version and exit ๐helpโ Show summary of options ๐file FILE [ all | OBJECTS ]โ Log output to FILE. OBJECTS is the list of object types that we want to monitor. It may contain'link','address','route'and'all'.'link'specifies the network device,'address'the protocol (IP or IPv6) address on a device,'route'the routing table entry, and'all'does what the name says ๐ฆ-family [ inet | inet6 | link | help ]โ Specify protocol family.'inet'is IPv4,'inet6'is IPv6,'link'means that no networking protocol is involved, and'help'prints usage information ๐-4โ Use IPv4. Shortcut for-family inet๐-6โ Use IPv6. Shortcut for-family inet6โจ-0โ Use a special family identifier meaning that no networking protocol is involved. Shortcut for-family link๐ซถ
๐ง USAGE EXAMPLES ๐ง
Log to the file first, bestie:
# rtmon file /var/log/rtmon.log
Then run this to display the logged output from the file ๐
# ip monitor file /var/log/rtmon.log
๐ฆ SEE ALSO ๐ฆ
ip(8) ip-monitor(8) ๐
๐ AUTHOR ๐
rtmon was written by Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> ๐
This manual page was written by Michael Prokop <mika@grml.org>, for the Debian project (but may be used by others) ๐ซถ
Bye bestie, this page is from System Manager's Manual, RTMON(8) ๐ธ Source and date were lost in the vibe check, so just vibe with it โจ๐
๐ฆ where this page comes from
- alpine 3.22: iproute2-doc 6.15.0-r0 ยท GPL-2.0-or-later
- alpine 3.23: iproute2-doc 6.17.0-r0 ยท GPL-2.0-or-later
- alpine 3.24: iproute2-doc 7.0.0-r0 ยท GPL-2.0-or-later
- arch rolling: iproute2 7.2.0-1
- arch rolling: iproute2 7.3.0-1 ยท GPL-2.0-or-later
- centos-stream 10: iproute 7.0.0-2.el10 ยท GPL-2.0-or-later AND NIST-PD
- centos-stream 9: iproute 6.17.0-3.el9 ยท GPL-2.0-or-later AND NIST-PD
- debian trixie: iproute2 6.15.0-1 ยท GPL-2.0-only
- fedora 43: iproute 6.14.0-2.fc43 ยท GPL-2.0-or-later AND NIST-PD
- fedora 44: iproute 6.17.0-2.fc44 ยท GPL-2.0-or-later AND NIST-PD
- nixos 26.05: iproute2 7.0.0
- nixpkgs unstable: iproute2 7.2.0
- opensuse-leap 16.0: iproute2 6.12-160000.4.1 ยท GPL-2.0-only
- opensuse-leap 16.0: iproute2 6.12-160000.4.1 ยท GPL-2.0-only
- opensuse-leap 16.0: iproute2 6.12-160000.4.1 ยท GPL-2.0-only
- opensuse-leap 16.0: iproute2 6.12-160000.4.1 ยท GPL-2.0-only
- ubuntu questing: iproute2 6.16.0-1ubuntu2
- ubuntu questing: iproute2 6.16.0-1ubuntu2.1 ยท GPL-2.0-only
- ubuntu questing: iproute2 6.16.0-1ubuntu2.2
- ubuntu resolute: iproute2 6.19.0-1ubuntu1 ยท GPL-2.0-only
- ubuntu resolute: iproute2 6.19.0-1ubuntu1.1 ยท GPL-2.0-only
- ubuntu stonking: iproute2 7.2.0-1ubuntu1 ยท GPL-2.0-only
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms