ifdata man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

IFDATA(1)			   moreutils			     IFDATA(1)

NAME
       ifdata - get network interface info without parsing ifconfig output

SYNOPSIS
       ifdata [options] {iface}

DESCRIPTION
       ifdata can be used to check for the existence of a network interface,
       or to get information abut the interface, such as its IP address.
       Unlike ifconfig or ip, ifdata has simple to parse output that is
       designed to be easily used by a shell script.

OPTIONS
       -h
	   Print out a help summary.

       -e
	   Test to see if the interface exists, exit nonzero if it does not.

       -p
	   Prints out the whole configuration of the interface.

       -pe
	   Prints "yes" or "no" if the interface exists or not.

       -pa
	   Prints the IPv4 address of the interface.

       -pn
	   Prints the netmask of the interface.

       -pN
	   Prints the network address of the interface.

       -pb
	   Prints the broadcast address of the interface.

       -pm
	   Prints the MTU of the interface.

       Following options are Linux only.

       -ph
	   Prints the hardware address of the interface.

       -pf
	   Prints the flags of the interface.

       -si
	   Prints out all the input statistics of the interface.

       -sip
	   Prints the number of input packets.

       -sib
	   Prints the number of input bytes.

       -sie
	   Prints the number of input errors.

       -sid
	   Prints the number of dropped input packets.

       -sif
	   Prints the number of input fifo overruns.

       -sic
	   Print the number of compressed input packets.

       -sim
	   Prints the number of input multicast packets.

       -so
	   Prints out all the output statistics of the interface.

       -sop
	   Prints the number of output packets.

       -sob
	   Prints the number of output bytes.

       -soe
	   Prints the number of output errors.

       -sod
	   Prints the number of dropped output packets.

       -sof
	   Prints the number of output fifo overruns.

       -sox
	   Print the number of output collisions.

       -soc
	   Prints the number of output carrier losses.

       -som
	   Prints the number of output multicast packets.

       -bips
	   Prints the number of bytes of incoming traffic measured in one
	   second.

       -bops
	   Prints the number of bytes of outgoing traffic measured in one
	   second.

AUTHOR
       Benjamin BAYART

moreutils			  2006-03-07			     IFDATA(1)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net