Chapter 2 System Overview and Troubleshooting 2-37
2.9 Traditional Oracle Solaris Troubleshooting
Commands
These superuser commands can help you determine if you have issues in your workstation, in
the network, or within another server that you are networking with.
The following commands are described in this section:
■ Section 2.9.1, “iostat Command” on page 2-37
■ Section 2.9.2, “prtdiag Command” on page 2-39
■ Section 2.9.3, “prtconf Command” on page 2-41
■ Section 2.9.4, “netstat Command” on page 2-45
■ Section 2.9.5, “ping Command” on page 2-46
■ Section 2.9.6, “ps Command” on page 2-47
■ Section 2.9.7, “prstat Command” on page 2-48
Most of these commands are located in the /usr/bin or /usr/sbin directories.
2.9.1 iostat Command
The iostat command iteratively reports terminal, drive, and tape I/O activity, as well as
CPU utilization.
# fmstat
module ev_recv ev_acpt wait svc_t %w %b open solve memsz bufsz
cpumem-diagnosis 0 0 0.0 0.0 0 0 0 0 3.0 K0
cpumem-retire 0 0 0.0 0.0 0 0 0 0 0 0
eft 1 1 0.0 1191.8 0 0 1 1 3.3M 11K
fmd-self-diagnosis 0 0 0.0 0.0 0 0 0 0 0 0
io-retire 1 0 0.0 32.4000 0 37b 0
syslog-msgs 1 0 0.0 0.5 0 0 0 0 32b 0