table of contents
other versions
- wheezy 20120521-3+b3
- wheezy-backports 3.16.0-2~bpo70+1
- jessie 3.16.0-2
- testing 4.9.0-1
- unstable 4.9.0-1
RTMON(8) | System Manager's Manual | RTMON(8) |
NAME¶
rtmon - listens to and monitors RTnetlinkSYNOPSIS¶
rtmon [ options ] file FILE [ all | LISTofOBJECTS ]DESCRIPTION¶
This manual page documents briefly the rtmon command. rtmon listens on netlink socket and monitors routing table changes.OPTIONS¶
rtmon supports the following options:- -Version
- Print version and exit.
- help
- Show summary of options.
- file FILE [ all | LISTofOBJECTS ]
- Log output to FILE. LISTofOBJECTS 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¶
- # rtmon file /var/log/rtmon.log
- Log to file /var/log/rtmon.log, then run:
- # ip monitor file /var/log/rtmon.log
- to display logged output from file.