Manual Pages


Table of Contents

NAME

na_ifstat - Displays device-level statistics for network interfaces.

SYNOPSIS

ifstat [ -z ] -a | interface_name

DESCRIPTION

The ifstat command displays statistics about packets received and sent on a specified network interface or on all network interfaces. The statistics are cumulative since the node was booted.

The -z argument clears the statistics. The -a argument displays statistics for all network interfaces including the virtual host and the loopback address. If you don't use the -a argument, specify the name of a network interface.

HA CONSIDERATIONS

In takeover mode, the ifstat command displays combined statistics about packets processed by the local network interface and packets processed by the local network interface on behalf of the network interface on the failed node.

The statistics displayed by the ifstat command are cumulative. That is, a giveback does not cause the ifstat command to zero out the statistics.

EXAMPLES

The following command displays network statistics for an Ethernet interface named e7:

ifstat e7

The following command displays network statistics for the loopback address:

ifstat lo

The following command displays network statistics for all network interfaces on the node:

ifstat -a

SEE ALSO

na_ifconfig(1) na_partner(1).


Table of Contents