GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  IFDATA (1)

.ds Aq ’

NAME

ifdata - get network interface info without parsing ifconfig output

CONTENTS

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

Search for    or go to Top of page |  Section 1 |  Main Index


moreutils IFDATA (1) 2006-03-07

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.