Appendix B Fault Isolation B-9
B.3 Traditional Oracle Solaris DiagnosticCommandsThesesuperuser commands can help you determine if you have issuesin your server,
in the network, or within another server that you are networking with.
The following commands are detailed in this section.
■Section B.3.1, “Using the iostat Command” on page B-9
■Section B.3.2, “Using the prtdiag Command” on page B-11
■Section B.3.3, “Using the prtconf Command” on page B-14
■Section B.3.4, “Using the netstat Command” on page B-16
■Section B.3.5, “Using the ping Command” on page B-17
■Section B.3.6, “Using the ps Command” on page B-18
■Section B.3.7, “Using the prstat Command” on page B-19
Most of these commands are located in the /usr/bin or /usr/sbin directories.
B.3.1 Using the iostat Command
The iostat command iteratively reports terminal, drive, and tape I/O activity,as
well as CPU utilization.
B.3.1.1 Options
TABLEB-3 describes options for the iostat command and how those options can
help troubleshoot the server.
TABLEB-3 Options for iostat
Option Description HowIt Can Help
No option Reports status of local I/O devices. Providesa quick three-line output of
device status.
-c Reports the percentageof time the system has
spent in user mode, in system mode, waiting for
I/O, and idling.
Providesa quick report of CPU status.