B.3
Traditional Oracle Solaris Diagnostic
Commands
These superuser commands can help you determine if you have issues in 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
TABLE B-3
help troubleshoot the server.
Options for
TABLE B-3
Option
Description
No option
Reports status of local I/O devices.
Reports the percentage of time the system has
-c
spent in user mode, in system mode, waiting for
I/O, and idling.
describes options for the iostat command and how those options can
iostat
How It Can Help
Provides a quick three-line output of
device status.
Provides a quick report of CPU status.
Appendix B
Fault Isolation
B-9
Need help?
Do you have a question about the SPARC Enterprise M4000 and is the answer not in the manual?
Questions and answers