1RTMON(8)                    System Manager's Manual                   RTMON(8)
2
3
4

NAME

6       rtmon - listens to and monitors RTnetlink
7

SYNOPSIS

9       rtmon [ options ] file FILE [ all | LISTofOBJECTS ]
10

DESCRIPTION

12       This manual page documents briefly the rtmon command.
13
14       rtmon listens on netlink socket and monitors routing table changes.
15
16       rtmon  can be started before the first network configuration command is
17       issued.  For example if you insert:
18
19       rtmon file /var/log/rtmon.log
20
21       in a startup script, you will be able to view the full  history  later.
22       Certainly,  it  is possible to start rtmon at any time. It prepends the
23       history with the state snapshot dumped at the moment of starting.
24
25

OPTIONS

27       rtmon supports the following options:
28
29       -Version
30              Print version and exit.
31
32       help   Show summary of options.
33
34       file FILE [ all | LISTofOBJECTS ]
35              Log output to FILE. LISTofOBJECTS is the list  of  object  types
36              that  we  want  to  monitor.  It  may contain 'link', 'address',
37              'route'  and  'all'.  'link'  specifies  the   network   device,
38              'address' the protocol (IP or IPv6) address on a device, 'route'
39              the routing table entry and 'all' does what the name says.
40
41       -family [ inet | inet6 | link | help ]
42              Specify protocol family. 'inet' is IPv4, 'inet6' is IPv6, 'link'
43              means  that no networking protocol is involved and 'help' prints
44              usage information.
45
46       -4     Use IPv4. Shortcut for -family inet.
47
48       -6     Use IPv6. Shortcut for -family inet6.
49
50       -0     Use a special family identifier meaning that no networking  pro‐
51              tocol is involved. Shortcut for -family link.
52

USAGE EXAMPLES

54       # rtmon file /var/log/rtmon.log
55              Log to file /var/log/rtmon.log, then run:
56
57       # ip monitor file /var/log/rtmon.log
58              to display logged output from file.
59

SEE ALSO

61       ip(8)
62

AUTHOR

64       rtmon was written by Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>.
65
66       This manual page was written by Michael Prokop <mika@grml.org>, for the
67       Debian project (but may be used by others).
68
69
70
71                                                                      RTMON(8)
Impressum