免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3395 | 回复: 2
打印 上一主题 下一主题

求助:SUN服务器执行iostat 结果字段意思 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-12-24 15:11 |只看该作者 |倒序浏览
在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这些都是什么意思呢?

论坛徽章:
1
2015年迎新春徽章
日期:2015-03-04 09:50:28
2 [报告]
发表于 2008-12-25 11:21 |只看该作者
r/s 读每秒
W/S 写每秒,其他的就这样翻译理解吧

论坛徽章:
1
2015年迎新春徽章
日期:2015-03-04 09:50:28
3 [报告]
发表于 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
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP