Index of /downloads/ifinfo
Name Last modified Size Description
Parent Directory 30-Jun-2008 12:30 -
LICENSE 15-Jun-2005 09:56 15k
README 15-Jun-2005 09:56 5k
ifinfo 15-Jun-2005 09:56 20k
ifinfo-0.90-1.i586.rpm 05-Apr-2005 22:12 21k
ifinfo-0.90-1.i686.rpm 05-Apr-2005 22:12 21k
ifinfo-0.90-1.src.rpm 05-Apr-2005 22:12 16k
ifinfo-0.90-1.x86_64.rpm 05-Apr-2005 22:12 21k
ifinfo-0.90.tar.gz 05-Apr-2005 22:13 13k GZIP compressed document
ifinfo.html 15-Jun-2005 09:56 11k
ifinfo.spec 15-Jun-2005 09:56 1k
old/ 05-Apr-2005 22:12 -
ifinfo 0.85 by Joseph Landman
(Copyright 2003 by Scalable Informatics LLC)
ifinfo is a simple command line network inquiry/formatting
tool specifically designed to output some useful information about
your network connection. It works by querying the relevant tables in
/proc as well as the output of various UNIX commands. Its entire
purpose in life is to tell you what you want to know, hopefully in
the format you wish to see it in.
DEPENDENCIES:
The Getopt::Long Perl module on CPAN (http://www.cpan.org)
INSTALLATION:
(tar.gz)
Unpack the distribution. Copy the ifinfo to somewhere in your path.
Might need to be root user for this.
tar -zxvf ifinfo-0.85.tar.gz
cd ifinfo-0.85
cp ifinfo /usr/local/bin
pod2man ifinfo > /usr/local/man/man8
chmod 555 /usr/local/bin/ifinfo
(RPM)
rpm -Uvh ifinfo-0.85-1.noarch.rpm
USAGE:
Read the fine man page (RTFMP). Really, it should help.
EXAMPLES:
[landman@protein.scalableinformatics.com:~/landman/software/ifinfo-0.75]
89 >./ifinfo --ns
dummy0: protein.scalableinformatics.com 1500 0.293 MB 0.000 MB
vmnet1: Unknown 1500 0.000 MB 0.000 MB
lo: localhost.localdomain 16436 62.251 MB 62.251 MB
vmnet8: Unknown 1500 0.000 MB 0.000 MB
eth0: dhcp3.scalableinformatics.com 1500 9.696 MB 78.037 MB
[landman@protein.scalableinformatics.com:~/landman/software/ifinfo-0.75]
90 >./ifinfo --route
dummy0: 192.168.0.0/255.255.255.0 -> 0.0.0.0
vmnet1: 192.168.15.0/255.255.255.0 -> 0.0.0.0
lo: 127.0.0.0/255.0.0.0 -> 0.0.0.0
vmnet8: 172.16.7.0/255.255.255.0 -> 0.0.0.0
eth0: 0.0.0.0/0.0.0.0 -> 192.168.1.254
192.168.1.0/255.255.255.0 -> 0.0.0.0
169.254.0.0/255.255.0.0 -> 0.0.0.0
[landman@protein.scalableinformatics.com:~/landman/software/ifinfo-0.75]
92 >./ifinfo --route --ifname=eth0
eth0: 0.0.0.0/0.0.0.0 -> 192.168.1.254
192.168.1.0/255.255.255.0 -> 0.0.0.0
169.254.0.0/255.255.0.0 -> 0.0.0.0
[landman@protein.scalableinformatics.com:~/landman/software/ifinfo-0.75]
91 >./ifinfo --info=dev,name
dummy0,protein.scalableinformatics.com
vmnet1,Unknown
lo,localhost.localdomain
vmnet8,Unknown
eth0,dhcp3.scalableinformatics.com
[landman@protein.scalableinformatics.com:/misc/squash/home/landman/ifinfo-0.5]
24 >./ifinfo --mask=range
dummy0: 192.168.0.1/24 1500 0.066 MB 0.000 MB
eth0: 192.168.1.34/24 1500 32.811 MB 108.771 MB
lo: 127.0.0.1/8 16436 0.033 MB 0.033 MB
vmnet1: 192.168.201.1/24 1500 0.000 MB 0.000 MB
vmnet8: 172.16.88.1/24 1500 0.000 MB 0.000 MB
[landman@protein.scalableinformatics.com:/misc/squash/home/landman/ifinfo-0.5]
25 >./ifinfo --mask=bits
dummy0: 192.168.0.1/11111111111111111111111100000000 1500 0.066 MB 0.000 MB
eth0: 192.168.1.34/11111111111111111111111100000000 1500 32.811 MB 108.771 MB
lo: 127.0.0.1/11111111000000000000000000000000 16436 0.033 MB 0.033 MB
vmnet1: 192.168.201.1/11111111111111111111111100000000 1500 0.000 MB 0.000 MB
vmnet8: 172.16.88.1/11111111111111111111111100000000 1500 0.000 MB 0.000 MB
[landman@protein.scalableinformatics.com:/misc/squash/home/landman/ifinfo-0.5]
44 >./ifinfo --ifname=eth0,lo,dummy0 --mask=hex
dummy0: 192.168.0.1/0xffffff00 1500 0.066 MB 0.000 MB
eth0: 192.168.1.34/0xffffff00 1500 32.977 MB 108.894 MB
lo: 127.0.0.1/0xff000000 16436 0.033 MB 0.033 MB
[landman@protein.scalableinformatics.com:/misc/squash/home/landman/ifinfo-0.5]
47 >./ifinfo --ifname=eth0,lo,dummy0 --info=dev,tx_bytes,rx_bytes --sep=","
dummy0,69543,_not_set_
eth0,34583346,114189764
lo,34494,34494
LICENSE:
GNU Public License v2.0
AUTHOR:
Joseph Landman
landman@scalableinformatics.com
http://scalableinformatics.com
COPYRIGHT
(c) 2003 Scalable Informatics LLC
WARRANTY
None.
INFORMATION
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA