Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rtmon(8) [centos man page]

RTMON(8)						      System Manager's Manual							  RTMON(8)

NAME
rtmon - listens to and monitors RTnetlink SYNOPSIS
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. rtmon can be started before the first network configuration command is issued. For example 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. 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. SEE ALSO
ip(8) AUTHOR
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). RTMON(8)

Check Out this Related Man Page

IP-MONITOR(8)							       Linux							     IP-MONITOR(8)

NAME
ip-monitor, rtmon - state monitoring SYNOPSIS
ip monitor [ all | LISTofOBJECTS ] DESCRIPTION
The ip utility can monitor the state of devices, addresses and routes continuously. This option has a slightly different format. Namely, the monitor command is the first in the command line and then the object list follows: ip monitor [ all | LISTofOBJECTS ] OBJECT-LIST is the list of object types that we want to monitor. It may contain link, address and route. If no file argument is given, ip opens RTNETLINK, listens on it and dumps state changes in the format described in previous sections. If a file name is given, it does not listen on RTNETLINK, but opens the file containing RTNETLINK messages saved in binary format and dumps them. Such a history file can be generated with the rtmon utility. This utility has a command line syntax similar to ip monitor. Ide- ally, rtmon should be started before the first network configuration command is issued. F.e. 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. SEE ALSO
ip(8) AUTHOR
Original Manpage by Michail Litvak <mci@owl.openwall.com> iproute2 20 Dec 2011 IP-MONITOR(8)
Man Page

10 More Discussions You Might Find Interesting

1. IP Networking

Networking Monitoring Tools

Any idea where can I get a freware to monitor the network traffic in my department? The best is this tool can store the log files. Thanks! (5 Replies)
Discussion started by: zheng_soon
5 Replies

2. IP Networking

OpenWeBEM

hi can you give information about OpenWeBEM on unix or forward any link for this (0 Replies)
Discussion started by: munnu
0 Replies

3. IP Networking

Openbsd as gateway Problem

Hello all expert network administrator, i truly new to networking. Please help me in this problem. /etc/hostname.rl1(Wired Internal interface) inet 10.0.0.1 255.255.255.0 none /etc/hostname.ral0 : inet 10.0.1.1 255.255.255.0 and others option as well. /etc/dhcpd.conf : share-network local {... (82 Replies)
Discussion started by: Peter_APIIT
82 Replies

4. UNIX for Dummies Questions & Answers

Awk help needed

I have a log file monitor script that checks through a log file for a string. I use awk to search the log file, starting at the last checked line, for the specified string and then output the count and the last row number checked. The part of the script that does all the work is here: set --... (6 Replies)
Discussion started by: mglenney
6 Replies

5. IP Networking

Need help with a routing issue.

I have run into a wall troubleshooting a Centos 5 networking issue. Hoping someone can assist. I've got a box with two vlans trunked over bond0 bond0 Link encap:Ethernet HWaddr 00:22:64:C1:D6:60 inet6 addr: fe80::222:64ff:fec1:d660/64 Scope:Link ... (0 Replies)
Discussion started by: creedog
0 Replies

6. UNIX for Dummies Questions & Answers

Log information

hello all, so i'm working on a script, and part of it is to display the log info of the current logged on users, 1- full name 2- last log-in time 3- source ip address i used who command to find the user ID then grep the full name and the last log in time. but i can't find a command... (6 Replies)
Discussion started by: ibzee33
6 Replies

7. Shell Programming and Scripting

expr not working

I have written below script which monitors a log file and if log file is not writting for 2 intervels then admin should be notified. ================ sh=`date | awk '{print $4}' | cut -d ":" -f1` sm=`date | awk '{print $4}' | cut -d ":" -f2` lh=`ls -l /opt/Heartbeat.log | awk '{print $8}' |... (5 Replies)
Discussion started by: paventhan
5 Replies

8. HP-UX

Script to monitor /var/opt/resmon/log/event.log file

AM in need of some plugin/script that can monitor HP-UX file "/var/opt/resmon/log/event.log" . Have written a scrip in sh shell that is working fine for syslog.log and mail.log as having standard format, have interrogated that to Nagios and is working as I required . But same script failed to... (3 Replies)
Discussion started by: Shirishlnx
3 Replies

9. IP Networking

[ipv6_test] Kernel is not compiled with IPv6 support

Hello, i tried to enable IPv6 networking and after service network restart i seen these messages: FATAL: Error inserting ipv6 (/lib/modules/2.6.18-348.16.1.el5.028stab108.1/kernel/net/ipv6/ipv6.ko): Device or resource busy CRITICAL : Kernel is not compiled with IPv6 support Bringing up... (6 Replies)
Discussion started by: postcd
6 Replies

10. UNIX for Beginners Questions & Answers

Grep command in a loop

Hello - I am running a script that is outputting to a log. Let call it output.log I would like to monitor that log until the line "Build Successful" is found. I think I would need to use the grep command. How would I do that in a loop? Thanks Marty (1 Reply)
Discussion started by: MSpeare
1 Replies