mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-20 02:50:31 +00:00
22 lines
479 B
Plaintext
22 lines
479 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|