[Previous] [Contents] [Index] [Next]

nicinfo

Display information about a network interface controller


Note: If you aren't root, specify the full path: /usr/sbin/nicinfo.

Syntax:

nicinfo [-r] [device...]

Options:

-r
The specified devices are relative to /dev/io-net/.
device
The device to display information about. The default is /dev/io-net/en0.

Description:

This utility displays information about the given network interface connection, or /dev/io-net/en0 if none is specified. The information includes the number of packets transmitted and received, collisions, and other errors.


Note: The output from nicinfo depends on what the driver supports; not all fields are included for all drivers. However, the output always includes information about the bytes and packets that were transmitted and received.

Examples:

# nicinfo

SMC9432 EPIC Ethernet Controller

  Physical Node ID ........................... 00E029 3820EE
  Current Physical Node ID ................... 00E029 3820EE
  Current Operation Rate ..................... 100.00 Mb/s half-duplex
  Active Interface Type ...................... MII
    Active PHY address ....................... 3
  Maximum Transmittable data Unit ............ 1514
  Maximum Receivable data Unit ............... 1514
  Hardware Interrupt ......................... 0x9
  I/O Aperture ............................... 0xb000 - 0xb0ff
  Memory Aperture ............................ 0xf1800000 - 0xf1800fff
  Promiscuous Mode ........................... Off
  Multicast Support .......................... Enabled

  Packets Transmitted OK ..................... 1096267
  Bytes Transmitted OK ....................... 1096353794
  Memory Allocation Failures on Transmit ..... 0

  Packets Received OK ........................ 1132010
  Bytes Received OK .......................... 1201171760
  Memory Allocation Failures on Receive ...... 0

  Single Collisions on Transmit .............. 744536
  Deferred Transmits ......................... 262485
  Late Collision on Transmit errors .......... 0
  Transmits aborted (excessive collisions) ... 0
  Transmit Underruns ......................... 0
  No Carrier on Transmit ..................... 0
  Receive Alignment errors ................... 0
  Received packets with CRC errors ........... 0
  Packets Dropped on receive ................. 0

Exit status:

0
Successful completion.
1
An error occurred.

See also:

"Network drivers (devn-*)" in the Utilities Summary

Connecting Hardware in the Neutrino User's Guide


[Previous] [Contents] [Index] [Next]