You use the sysstat command to display current filer statistics and the uptime command to display filer statistics that have accumulated since the last system boot.
The sysstat command displays statistics about the following:
The sysstat output is particularly useful for studying the performance of your filer.
Depending on the applications that access the filer, the computers on the network, and the network configuration, the following suggested actions might improve your filer's performance:
Note
For cluster systems, the sysstat command reflects the filer that is executing the commands, not the partner.
The following is an example of the default output format for the sysstat command with no options.
sysstat
CPU NFS CIFS HTTP Net kB/s Disk kB/s Tape kB/s Cache
in out read write read write age
By default, the filer displays statistics every 15 seconds; you can specify the interval, in seconds, as an argument to the sysstat command.
The sysstat -u command displays extended utilization statistics instead of the default display. This display includes the total number of operations per second for NFS, CIFS, and HTTP, cache age, cache hit percentage, the percentage of time the filer spends in a consistency point, the causes of the consistency points, and the disk utilization percentage of the busiest disk.
Note
Disk utilization is an access-based value and not the percentage of the disk used. High percentages for disk utilization might indicate a disk bottleneck. A value of 60 percent can indicate a disk bottleneck, whereas a value of 80 percent is a definite sign of one.
The sysstat -x command displays all system activity statistics in an extended output format. This produces output that is longer than 80 columns and is intended to be displayed on a wide viewer or to be captured to a file for later analysis. For the information displayed in each column, see the man page for the sysstat command.
The sysstat -s command displays a summary of the gathered statistics after the sysstat command terminates. The summary displays maximum and minimum values, and an average of values.
Note
Except for the average percentage of cache hits, the summary of averages for percentage values is an average of percentages, not a true mean of the data.
Entering the following command displays extended utilization statistics followed by a summary:
sysstat -u -s
You can terminate the sysstat command by either typing Ctrl-C or by setting the interval count using the sysstat -c command.
The following command displays 20 samples of extended utilization statistics:
sysstat -u -c 20
The uptime command prints the current time, the length of time the system has been up, and the total number of NFS, CIFS, HTTP, and DAFS operations the system has performed since it was last booted.
A typical example of the uptime display is as follows:
uptime
8:54am up 2 days 22:23, 3122520 NFS ops, 130 CIFS ops, 62 HTTP ops, 0 DAFS ops
Note
For cluster systems, the uptime command reflects the filer that is executing the commands, not the partner.
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00322
File: stats8.htm
Last updated: 01/22/03 16:17:23