HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

ip monitor — Monitor network for state changes. More information: <https://manned.org/ip-monitor>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandmonitorip monitornetworkstateclichangesfor
linux

Problem

How to use the ip monitor command: Monitor network for state changes. More information: <https://manned.org/ip-monitor>.

Solution

ip monitor — Monitor network for state changes. More information: <https://manned.org/ip-monitor>.

Monitor the whole network for state changes:
ip {{[mo|monitor]}}


Specify the type to monitor:
ip {{[mo|monitor]}} {{link|address|route|neigh|rule|maddress|...}}


Replay an event file (can be generated with rtmon):
ip {{[mo|monitor]}} {{[f|file]}} {{path/to/file}}

Code Snippets

Monitor the whole network for state changes

ip {{[mo|monitor]}}

Specify the type to monitor

ip {{[mo|monitor]}} {{link|address|route|neigh|rule|maddress|...}}

Replay an event file (can be generated with `rtmon`)

ip {{[mo|monitor]}} {{[f|file]}} {{path/to/file}}

Context

tldr-pages: linux/ip monitor

Revisions (0)

No revisions yet.