This facility stores a great deal of performance data about a system. This information is invaluable when attempting to identify the source of a performance problem.
The Report Package can be enabled by uncommenting the appropriate lines in the sys crontab. The
sa1
program stores performance data in the /var/adm/sa
directory. sa2
writes reports from this data, and sadc
is a more general version ofsa1
.In practice, I do not find that the
sa2
-produced reports are terribly useful in most cases. Depending on the issue being examined, it may be sufficient to run sa1
at intervals that can be set in the sys crontab.Alternatively,
sar
can be used on the command line to look at performance over different time slices or over a constricted period of time:# sar -A -o
outfile
5 2000
(Here, "5" represents the time slice and "2000" represents the number of samples to be taken. "outfile" is the output file where the data will be stored.)
The data from this file can be read by using the "-f" option (see below).
System Activity Reporter
Directory Name Lookup Cache
Read more http://blogmee.info/index.php/solaris-performance-monitoring-by-sar-command-system-activity-report/
No comments:
Post a Comment