logo
Manual Pages
Table of Contents

NAME

na_ifstat - display 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 filer 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.

CLUSTER 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 filer. 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 filer: ifstat -a

SEE ALSO

na_ifconfig(1) na_partner(1).
Table of Contents