perfstat_netinterface_total Interface
The perfstat_netinterface_total interface returns a perfstat_netinterface_total_t structure, which is defined in the libperfstat.h file.
Selected fields from the perfstat_netinterface_total_t structure include:
Several other network interface-related metrics (such as number of bytes sent and received).
For a complete list, see the perfstat_netinterface_total_t section in the libperfstat.h header file in Files Reference.
Item | Descriptor |
---|---|
number | Number of network interfaces |
ipackets | Total number of input packets received on all network interfaces |
opackets | Total number of output packets sent on all network interfaces |
ierror | Total number of input errors on all network interfaces |
oerror | Total number of output errors on all network interfaces |