IFSTAST(8) System Manager's Manual IFSTAST(8)NAME
ifstat - handy utility to read net interface statistics
SYNOPSIS
ifstat [options] [interface [interface [...]]]
DESCRIPTION
This manual page documents briefly the ifstat command.
ifstat neatly prints out network interface statistics. The utility keeps records of the previous data displayed in history files and by
default only shows difference between the last and the current call. Location of the history files defaults to /tmp/.ifstat.u$UID but may
be overridden with the IFSTAT_HISTORY environment variable.
OPTIONS -h, --help
Show summary of options.
-V, --version
Show version of program.
-a, --ignore
Ignore the history file.
-d, --scan=SECS
Sample statistics every SECS second.
-e, --errors
Show errors.
-n, --nooutput
Don't display any output. Update the history file only.
-r, --reset
Reset history.
-s, --noupdate
Don't update the history file.
-t, --interval=SECS
Report average over the last SECS seconds.
-z, --zeros
Show entries with zero activity.
SEE ALSO ip(8)AUTHOR
ifstat was written by Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>.
This manual page was written by Petr Sabata <contyk@redhat.com>.
IFSTAST(8)
Check Out this Related 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)
Thanks PxT answered my "compare two files"question very quick and neat!!:-)
I have a question about .history file I couldn't find any satisfied answer from book.
1. This file was created automatically when you set up user's environment or you have to use a command to create it or you... (4 Replies)
Hi, I come into unix with csh, but i switch to bash . I want to clear my command history for each session, history -c, but for some reason this doesn't work in the .bashrc file. I know that the file is running after I type bash on my csh command line because I get the hello back. If I am already... (1 Reply)
Hello
How to configure, or where to have each session history in different file
Example: someone is connecting as root and at this time is creating file in which we have history of executed command
to server is connecting another user and is created another file with command executed by... (1 Reply)
What is the command for checking modification history on file?
---------- Post updated at 01:20 PM ---------- Previous update was at 12:35 PM ----------
Let me rephrase this. On a regular Unix file can I at least check to see the time and date history modification of the file? (6 Replies)
As in the title, how to clear the history entries?
For eg: if i enter history, series of linux commands getting displayed from day 1. I need to clear those entries and want linux commands to be stored freshly.
Thanks in advance (6 Replies)