LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ip-monitor

watches for network state changes in real-time and reports them to stdout

TLDR

Monitor all network state changes
$ ip monitor
copy
Monitor specific event type
$ ip monitor [link|address|route|neigh|rule|maddress]
copy
Replay an event file generated with rtmon
$ ip monitor file [path/to/file]
copy

SYNOPSIS

ip monitor [type] [options]

DESCRIPTION

ip monitor watches for network state changes in real-time and reports them to stdout. It uses netlink sockets to receive kernel notifications about network configuration changes.This is useful for debugging network issues, monitoring dynamic changes, and understanding how network configuration evolves over time. Multiple event types can be monitored simultaneously.

PARAMETERS

link

Monitor link state changes
address
Monitor address changes
route
Monitor routing table changes
neigh
Monitor neighbour/ARP table changes
rule
Monitor policy routing rule changes
maddress
Monitor multicast address changes
file FILE
Replay events from file (generated with rtmon)

CAVEATS

Monitoring requires appropriate privileges to access netlink sockets. Output can be verbose on active systems. Events are reported in real-time but may be buffered.

HISTORY

ip monitor is part of iproute2, developed by Alexey Kuznetsov. The netlink interface it uses was introduced in Linux 2.2 and has been enhanced in subsequent kernel versions.

SEE ALSO

ip(8), rtmon(8), ss(8)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid