nicinfo#
The nicinfo utility operates slightly differently than under io-net:
- The default operation with no arguments is to list information on all interfaces.
The io-net behaviour was to show stats for /dev/io-net/en0.
- Under io-net all interface ethernet interface names began with 'enX'. Under io-pkt this name will vary.
Note: Ported *BSD drivers may not support the nicinfo ioctl.
examples#
To get stats on legacy io-net drivers running under the shim the following are equivalent and are unchanged from the io-net behaviour. # nicinfo -r en0
# nicinfo /dev/io-net/en0
To get stats on a particular native driver. # nicinfo wm0