Unix/Linux Go Back    

Linux 2.6 - man page for rtmon (linux section 8)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

RTMON(8)										 RTMON(8)

       rtmon - listens to and monitors RTnetlink

       rtmon [ options ] file FILE [ all | LISTofOBJECTS ]

       This manual page documents briefly the rtmon command.

       rtmon listens on netlink socket and monitors routing table changes.

       rtmon  can be started before the first network configuration command is issued.	For exam-
       ple if you insert:

       rtmon file /var/log/rtmon.log

       in a startup script, you will be able to view the full history later.   Certainly,  it  is
       possible  to  start  rtmon  at  any  time. It prepends the history with the state snapshot
       dumped at the moment of starting.

       rtmon supports the following options:

	      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 moni-
	      tor.   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 net-
	      working 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.

       # 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.


       rtmon was written by Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>.

       This  manual  page  was	written by Michael Prokop <mika@grml.org>, for the Debian project
       (but may be used by others).

Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 03:46 AM.