Chinaunix
标题:
求助:SUN服务器执行iostat 结果字段意思
[打印本页]
作者:
wkh818
时间:
2008-12-24 15:11
标题:
求助:SUN服务器执行iostat 结果字段意思
在SUN服务器执行iostat 结果字段不知道是什么意思。本人初学。下面是执行结果:
bash-2.05$ iostat
tty md0 md1 md9 md10 cpu
tin tout kps tps serv kps tps serv kps tps serv kps tps serv us sy wt id
0 27 0 0 41 0 0 37 0 0 67 0 0 28 0 0 0 100
bash-2.05$ iostat -xn
extended device statistics
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
0.0 0.1 0.0 0.3 0.0 0.0 10.1 30.8 0 0 d0
0.0 0.0 0.0 0.0 0.0 0.0 0.3 36.5 0 0 d1
0.0 0.0 0.0 0.0 0.0 0.0 0.5 66.7 0 0 d9
0.0 0.1 0.0 0.3 0.0 0.0 0.0 28.4 0 0 d10
0.0 0.0 0.0 0.0 0.0 0.0 0.0 31.7 0 0 d11
0.0 0.0 0.0 0.0 0.0 0.0 0.0 65.5 0 0 d19
0.0 0.1 0.0 0.3 0.0 0.0 0.0 27.6 0 0 d20
0.0 0.0 0.0 0.0 0.0 0.0 0.0 39.6 0 0 d21
0.0 0.0 0.0 0.0 0.0 0.0 0.0 9.3 0 0 d29
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c2t6d0
0.0 0.0 0.0 0.0 0.0 0.0 0.1 6.4 0 0 c0t3d0
0.0 0.2 0.0 0.4 0.0 0.0 0.9 28.0 0 0 c0t0d0
0.0 0.0 0.0 0.0 0.0 0.0 57.2 9.8 0 0 c0t1d0
0.0 0.0 0.0 0.0 0.0 0.0 0.5 6.5 0 0 c1t5d0
0.0 0.2 0.0 0.4 0.0 0.0 0.9 27.8 0 0 c1t4d0
0.0 0.0 0.0 0.0 0.0 0.0 0.1 6.0 0 0 c1t7d0
0.0 0.0 0.0 0.0 0.0 0.0 0.0 2.4 0 0 c1t6d0
0.0 0.0 0.0 0.0 0.0 0.0 0.1 5.9 0 0 c0t2d0
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.3 0 0 if-dt:vold(pid329)
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device这些都是什么意思呢?
作者:
free4us
时间:
2008-12-25 11:21
r/s 读每秒
W/S 写每秒,其他的就这样翻译理解吧
作者:
free4us
时间:
2008-12-25 11:22
一下是man iostat 的内容
EXAMPLES
Example 1: Using the iostat command
example% iostat -xtc 5 2
extended device statistics tty cpu
device r/s w/s kr/s kw/s wait actv svc_t %w %b tin tout us sy wt id
sd0 0.4 0.3 10.4 8.0 0.0 0.0 36.9 0 1 0 10 0 0 1 99
sd1 0.0 0.0 0.3 0.4 0.0 0.0 35.0 0 0
sd6 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0
nfs1 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0
nfs2 0.0 0.0 0.0 0.1 0.0 0.0 35.6 0 0
extended device statistics tty cpu
device r/s w/s kr/s kw/s wait actv svc_t %w %b tin tout us sy wt id
sd0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 0 155 0 0 0 100
sd1 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0
sd6 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0
nfs1 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0
nfs2 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0
SunOS 5.9 Last change: 28 Oct 2001 3
System Administration Commands iostat(1M)
device
name of the disk
r/s reads per second
w/s writes per second
Kr/s kilobytes read per second
Kw/s kilobytes written per second
wait average number of transactions waiting for service
(queue length)
actv average number of transactions actively being serviced
(removed from the queue but not yet completed)
svc_t average service time, in milliseconds
%w percent of time there are transactions waiting for
service (queue non-empty)
%b percent of time the disk is busy (transactions in pro-
gress)
Example 2: Using the iostat command
example% iostat -xnp
extended device statistics
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
0.4 0.3 10.4 7.9 0.0 0.0 0.0 36.9 0 1 c0t0d0
0.3 0.3 9.0 7.3 0.0 0.0 0.0 37.2 0 1 c0t0d0s0
0.0 0.0 0.1 0.5 0.0 0.0 0.0 34.0 0 0 c0t0d0s1
0.0 0.0 0.0 0.1 0.0 0.0 0.6 35.0 0 0 expositor:/export/home3/user3
The fields have the same meanings as in the previous exam-
ple, with the following additions:
wsvc_t
average service time in wait queue, in milliseconds
asvc_t
average service time active transactions, in mil-
liseconds
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2