OS Manuals

/usr/bin/ifdata

A collection of the unix tools that nobody thought to write long ago

From moreutils 0.70-r2 (enterprise-packages), captured 2026-11-08 by running ifdata --help (exit 1). permalink

Usage: /usr/bin/ifdata [options] iface
     -e   Reports interface existence via return code
     -p   Print out the whole config of iface
    -pe   Print out yes or no according to existence
    -pa   Print out the address
    -pn   Print netmask
    -pN   Print network address
    -pb   Print broadcast
    -pm   Print mtu
    -ph   Print out the hardware address
    -pf   Print flags
    -si   Print all statistics on input
   -sip   Print # of in packets
   -sib   Print # of in bytes
   -sie   Print # of in errors
   -sid   Print # of in drops
   -sif   Print # of in fifo overruns
   -sic   Print # of in compress
   -sim   Print # of in multicast
    -so   Print all statistics on output
   -sop   Print # of out packets
   -sob   Print # of out bytes
   -soe   Print # of out errors
   -sod   Print # of out drops
   -sof   Print # of out fifo overruns
   -sox   Print # of out collisions
   -soc   Print # of out carrier loss
   -som   Print # of out multicast
  -bips   Print # of incoming bytes per second
  -bops   Print # of outgoing bytes per second
Options (29)
OptionDescriptionSource
-eReports interface existence via return codehelp
-pPrint out the whole config of ifacehelp
-pePrint out yes or no according to existencehelp
-paPrint out the addresshelp
-pnPrint netmaskhelp
-pNPrint network addresshelp
-pbPrint broadcasthelp
-pmPrint mtuhelp
-phPrint out the hardware addresshelp
-pfPrint flagshelp
-siPrint all statistics on inputhelp
-sipPrint # of in packetshelp
-sibPrint # of in byteshelp
-siePrint # of in errorshelp
-sidPrint # of in dropshelp
-sifPrint # of in fifo overrunshelp
-sicPrint # of in compresshelp
-simPrint # of in multicasthelp
-soPrint all statistics on outputhelp
-sopPrint # of out packetshelp
-sobPrint # of out byteshelp
-soePrint # of out errorshelp
-sodPrint # of out dropshelp
-sofPrint # of out fifo overrunshelp
-soxPrint # of out collisionshelp
-socPrint # of out carrier losshelp
-somPrint # of out multicasthelp
-bipsPrint # of incoming bytes per secondhelp
-bopsPrint # of outgoing bytes per secondhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.