Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Solaris 10
Linux
Solaris 11
VCS
VxVM
Hardware
Scripting
Storage
http://thegeekdiary.com/12-iostat-examples-for-solaris-performance-troubleshooting/
cpu
us sy wt id
0 1 0 99
1/10
3/7/2014
us - % user time
sy - % system time
wt - % I/O wait time (ignore this as it is no longer calculated & will always return 0)
id - % Idle time
Current statistics
The current disk I/O statistics need to be analyzed, which can
be done by running iostat over some period of time. The
syntax to run iostat at some interval with some optional count
is :
# iostat
Example 2
To run iostat at 1 seconds interval with a count of 5 :
# iostat 1 5
tty
sd0
sd1
sd2
sd3
cpu
tin tout kps tps serv kps tps serv kps tps serv kps tps serv
0
6 17
1
18
0
0
0
0
0
0
0
0
0
us sy wt id
0 1 0 99
0 235
0
80
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0 0 0 99
0 0 0 100
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0 1 0 99
0 1 0 99
81
80
2/10
3/7/2014
sd1
sd2
sd3
kps tps serv kps tps serv kps tps serv kps tps serv
16
0
18
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
sd2
sd3
sd4
kps tps serv kps tps serv kps tps serv kps tps serv kps tps serv
16
0
18
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
sd1
sd2
sd3
rps wps util rps wps util rps wps util rps wps util
0
0
0 0.3
0 0.0
0
0
0 0.0
0 0.0
0
0
0 0.0
0 0.0
0
0
0 0.0
0 0.0
0 0.0
0 0.0
0 0.0
0 0.0
http://thegeekdiary.com/12-iostat-examples-for-solaris-performance-troubleshooting/
3/10
3/7/2014
sd4
c8t1d0
c7t0d0
c8t2d0
cpu
tin tout kps tps serv kps tps serv kps tps serv kps tps serv
0
5 16
18
us sy wt id
0 1 0 99
r/s
w/s
kr/s
sd0
sd1
0.2
0.0
0.3
0.0
6.9
0.0
18.5
0.0
0
0
0
0
sd2
0.0
0.0
0.0
0.1
sd3
0.0
0.0
0.0
0.0
sd4
sd5
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0
0
0
0
http://thegeekdiary.com/12-iostat-examples-for-solaris-performance-troubleshooting/
4/10
3/7/2014
w/s
0.3
kr/s
6.8
0.0
0.0
0.0
0.0
0.0
0 c8t0d0s0
0.2
0.3
6.8
0.0
19.9
0 c8t0d0s1
0.0
0.0
0.0
0.0
0.0
0 c8t0d0s8
Error Statistics
To check for hard and soft errors on disk use the -e option
with iostat command :
Example 10
# iostat -en
---- errors --s/w h/w trn tot device
0
0 c8t0d0
0 c8t1d0
0
0
0
0
0
0
0 c7t0d0
0 c8t2d0
0 c8t3d0
0 c8t4d0
5/10
3/7/2014
option :
Example 11
# iostat -E
sd0
w/s
0.1
0.0
tty
0.3
0.0
0.0
0.0
20.8
0.1
0
0
0 c8t0d0
0 c7t0d0
tin tout us sy wt id
0 313
0 62 0 38
extended device statistics
r/s
0.0
w/s
54.7
kr/s
kw/s wait actv wsvc_t asvc_t %w %b device
0.0 50579.8 0.0 5.7
0.2 104.5
1 68 c8t0d0
tty
cpu
tin tout us sy wt id
0 288
0 35 0 65
r/s
w/s
0.0 164.4
http://thegeekdiary.com/12-iostat-examples-for-solaris-performance-troubleshooting/
6/10
3/7/2014
Related Posts
1. Solaris Performance troubleshooting : Disk (I/O)
performance issues
2. Solaris ZFS command line reference (Cheat sheet)
3. Examples of adding VxFS, ZFS, SVM, UFS, lofs, Raw
volumes and disk devices to non-global zones.
4. 17 Examples of using Solaris boot command
Email *
Website
Comment
http://thegeekdiary.com/12-iostat-examples-for-solaris-performance-troubleshooting/
7/10
3/7/2014
SUBMIT
DOWNLOAD
FIND ME ON GOOGLE+
Sandeep P
Follow
34 followers
Find us on Facebook
Thegeekdiary
Like
http://thegeekdiary.com/12-iostat-examples-for-solaris-performance-troubleshooting/
8/10
3/7/2014
CATEGORIES
Hardware (16)
Interview Questions (1)
LDOMs (9)
Linux (3)
Performance (2)
scripting (2)
Solaris 10 (41)
Solaris 11 (40)
Storage (3)
SVM (3)
VCS (12)
VxVM (7)
ZFS (5)
Zones (9)
9/10
3/7/2014
http://thegeekdiary.com/12-iostat-examples-for-solaris-performance-troubleshooting/
10/10