Chapter 7 Diagnostics and Troubleshooting 143
Software Commands
The system software provides Solaris operating environment commands, and
OpenBoot PROM (OBP) commands that you can use to diagnose problems. For more
information about Solaris commands, see the appropriate man pages. For additional
information about OBP commands, see the OpenBoot 3.x Command Reference Manual.
(An online version of the manual is included with the Solaris System Administrator
AnswerBook that ships with Solaris software.)
Solaris prtdiag Command
The prtdiag command is a UNIX shell command used to display system
configuration and diagnostic information. You can use the prtdiag command
to display:
■ System configuration, including information about clock frequencies, CPUs,
memory, and I/O card types
■ Diagnostic information
■ Failed field-replaceable units (FRUs)
To run prtdiag, type:
To isolate an intermittent failure, it may be helpful to maintain a prtdiag history
log. Use prtdiag with the -l (log) option to send output to a log file in /var/adm.
Note – Refer to the prtdiag man page for additional information.
An example of prtdiag output follows. The exact format of prtdiag output
depends on which version of the Solaris operating environment is running on your
system.
% /usr/platform/sun4u/sbin/prtdiag