[root@ywcrmdb ~]# sar -d 1 10

Linux 2.6.32-220.el6.x86_64 (ywcrmdb)  2014年04月19日  _x86_64_ (4 CPU)

15时14分17秒       DEV       tps  rd_sec/s  wr_sec/s  avgrq-sz  avgqu-sz     await     svctm     %util

15时14分18秒   dev11-0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

15时14分18秒    dev8-0    233.00      0.00 237568.00   1019.61    141.56    590.08      4.29     99.90

15时14分18秒  dev253-0  32711.00      0.00 261688.00      8.00  18131.49    535.96      0.03    100.00

15时14分18秒  dev253-1      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

15时14分18秒  dev253-2      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

15时14分18秒       DEV       tps  rd_sec/s  wr_sec/s  avgrq-sz  avgqu-sz     await     svctm     %util

15时14分19秒   dev11-0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

15时14分19秒    dev8-0    223.76      0.00 229132.67   1024.00    140.63    611.96      4.42     99.01

15时14分19秒  dev253-0  25673.27      0.00 205386.14      8.00  17991.43    682.42      0.04     99.01

15时14分19秒  dev253-1      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

15时14分19秒  dev253-2      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

15时14分19秒       DEV       tps  rd_sec/s  wr_sec/s  avgrq-sz  avgqu-sz     await     svctm     %util

15时14分20秒   dev11-0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

15时14分20秒    dev8-0    237.00      8.00 241664.00   1019.71    140.26    586.09      4.22    100.00

15时14分20秒  dev253-0  32155.00      8.00 257232.00      8.00  17939.53    552.46      0.03    100.00

15时14分20秒  dev253-1      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

15时14分20秒  dev253-2      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

15时14分20秒       DEV       tps  rd_sec/s  wr_sec/s  avgrq-sz  avgqu-sz     await     svctm     %util

15时14分21秒   dev11-0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

15时14分21秒    dev8-0    235.00      0.00 240640.00   1024.00    141.56    608.52      4.26    100.10

15时14分21秒  dev253-0  30037.00      0.00 240296.00      8.00  18092.85    609.12      0.03    100.00

15时14分21秒  dev253-1      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

15时14分21秒  dev253-2      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

15时14分21秒       DEV       tps  rd_sec/s  wr_sec/s  avgrq-sz  avgqu-sz     await     svctm     %util

15时14分22秒   dev11-0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

15时14分22秒    dev8-0    241.00      0.00 246784.00   1024.00    141.36    618.76      4.15    100.00

15时14分22秒  dev253-0  29675.00      0.00 237400.00      8.00  18086.96    642.96      0.03    100.00

15时14分22秒  dev253-1      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

15时14分22秒  dev253-2      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

15时14分22秒       DEV       tps  rd_sec/s  wr_sec/s  avgrq-sz  avgqu-sz     await     svctm     %util

15时14分23秒   dev11-0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

15时14分23秒    dev8-0    228.00      0.00 233472.00   1024.00    140.94    556.00      4.39    100.00

15时14分23秒  dev253-0  30101.00      0.00 240808.00      8.00  18032.89    538.82      0.03    100.00

15时14分23秒  dev253-1      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

15时14分23秒  dev253-2      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

15时14分23秒       DEV       tps  rd_sec/s  wr_sec/s  avgrq-sz  avgqu-sz     await     svctm     %util

15时14分24秒   dev11-0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

15时14分24秒    dev8-0    215.84      0.00 222035.64   1028.70    139.32    613.12      4.59     99.01

15时14分24秒  dev253-0  28261.39      0.00 226091.09      8.00  17825.23    600.90      0.04     99.01

15时14分24秒  dev253-1      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

15时14分24秒  dev253-2      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

15时14分24秒       DEV       tps  rd_sec/s  wr_sec/s  avgrq-sz  avgqu-sz     await     svctm     %util

15时14分25秒   dev11-0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

15时14分25秒    dev8-0    241.00      8.00 244736.00   1015.54    141.52    650.53      4.15    100.00

15时14分25秒  dev253-0  28417.00      8.00 227328.00      8.00  18098.01    703.85      0.04    100.00

15时14分25秒  dev253-1      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

15时14分25秒  dev253-2      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

15时14分25秒       DEV       tps  rd_sec/s  wr_sec/s  avgrq-sz  avgqu-sz     await     svctm     %util

15时14分26秒   dev11-0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

15时14分26秒    dev8-0    236.00      0.00 241664.00   1024.00    142.29    640.25      4.24    100.00

15时14分26秒  dev253-0  32768.00      0.00 262144.00      8.00  18224.13    589.97      0.03    100.10

15时14分26秒  dev253-1      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

15时14分26秒  dev253-2      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

15时14分26秒       DEV       tps  rd_sec/s  wr_sec/s  avgrq-sz  avgqu-sz     await     svctm     %util

15时14分27秒   dev11-0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

15时14分27秒    dev8-0    222.00      0.00 227328.00   1024.00    142.71    562.98      4.51    100.10

15时14分27秒  dev253-0  28928.00      0.00 231424.00      8.00  18240.54    552.80      0.03    100.00

15时14分27秒  dev253-1      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

15时14分27秒  dev253-2      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

平均时间:       DEV       tps  rd_sec/s  wr_sec/s  avgrq-sz  avgqu-sz     await     svctm     %util

平均时间:   dev11-0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

平均时间:    dev8-0    231.24      1.60 236480.64   1022.68    141.21    604.27      4.32     99.81

平均时间:  dev253-0  29866.87      1.60 238933.33      8.00  18065.99    598.34      0.03     99.81

平均时间:  dev253-1      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

平均时间:  dev253-2      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00

显示内容包括:

device: sar命令正在监视的块设备的名字。

  %busy: 设备忙时,传送请求所占时间的百分比。

  avque: 队列站满时,未完成请求数量的平均值。

  r+w/s: 每秒传送到设备或从设备传出的数据量。

  blks/s: 每秒传送的块数,每块512字节。

  avwait: 队列占满时传送请求等待队列空闲的平均时间。

  avserv: 完成传送请求所需平均时间(毫秒)。

在显示的内容中,wd-0是硬盘的名字,%busy的值比较小,说明用于处理传送请求的有

效时间太少,文件系统效率不高,一般来讲,%busy值高些,avque值低些,文件系统

的效率比较高,如果%busy和avque值相对比较高,说明硬盘传输速度太慢,需调整。

tps

                     Indicate the number of transfers per second that were issued to the device.   Multiple  logical  requests

                     can be combined into a single I/O request to the device. A transfer is of indeterminate size.

rd_sec/s

                     Number of sectors read from the device. The size of a sector is 512 bytes.

wr_sec/s

                     Number of sectors written to the device. The size of a sector is 512 bytes.

avgrq-sz

                     The average size (in sectors) of the requests that were issued to the device.

avgqu-sz

                     The average queue length of the requests that were issued to the device.

await

                     The  average time (in milliseconds) for I/O requests issued to the device to be served. This includes the

                     time spent by the requests in queue and the time spent servicing them.

svctm

                     The average service time (in milliseconds) for I/O requests that were issued to the device.

%util

                     Percentage of CPU time during which I/O requests were issued to the device (bandwidth utilization for the

                     device). Device saturation occurs when this value is close to 100%.

Linux sar使用的更多相关文章

  1. linux sar 命令详解(转载)

    linux sar 命令详解 2013-04-01 11:05 [小 大] 来源: 开源中国社区 评论: 0 分享至: 百度权重查询 词库网 网站监控 服务器监控 SEO监控 手机游戏 iPhone游 ...

  2. Linux sar分析网卡流量

    yum install sysstat    sar -n { DEV | EDEV | NFS | NFSD | SOCK | ALL }    sar 提供六种不同的语法选项来显示网络信息.-n选 ...

  3. linux sar 命令详解

    sar(System Activity Reporter系统活动情况报告)是目前 Linux 上最为全面的系统性能分析工具之一,可以从多方面对系统的活动进行报告,包括:文件的读写情况.系统调用的使用情 ...

  4. linux sar查看网络流量

    sar -n DEV 1 10 -n { keyword [,...] | ALL } Report network statistics. IFACE Name of the network int ...

  5. linux sar 命令详解(历史资源查看,如内存、CUP等等)

    sar(System Activity Reporter系统活动情况报告)是目前 Linux 上最为全面的系统性能分析工具之一,可以从多方面对系统的活动进行报告,包括:文件的读写情况.系统调用的使用情 ...

  6. linux sar的使用

    sar(System Activity Reporter系统活动情况报告)是目前Linux上最为全面的系统性能分析工具之一,可以从多个方面对系统的活动进行报告,包括:文件的读写情况.系统调用的使用情况 ...

  7. linux sar命令详解

    sar(System Activity Reporter系统活动情况报告)是目前 Linux 上最为全面的系统性能分析工具之一,可以从多方面对系统的活动进行报告,包括:文件的读写情况.系统调用的使用情 ...

  8. linux sar详解

    sar(System Activity Reporter系统活动情况报告)是目前 Linux 上最为全面的系统性能分析工具之一,可以从多方面对系统的活动进行报告,包括:文件的读写情况.系统调用的使用情 ...

  9. 【转】linux sar命令详解

    原文地址:http://lovesoo.org/linux-sar-command-detailed.html sar(System Activity Reporter系统活动情况报告)是目前 Lin ...

随机推荐

  1. C++ —— 类的基础

    C++类的设计与基础       2015.9.11 1.变量和常量的命名:确定程序中的变量.常量.函数的名字都是具有描述性的名字,具有直接的意义.如numberOfStudent 比 numOfSt ...

  2. Object -C 数组 -- 笔记

    // //  main.m //  Array // //  Created by facial on 23/8/15. //  Copyright (c) 2015 facial_huo. All ...

  3. 在 iPad和 iPhone的浏览器上查看网页源代码

    今天使用iPad 处理OA上的问题,有个窗口不能正常工作,想查看一下源码,发现iPad中的 Safari和chrome 没有内置查看源码功能.查了几个资料,遇到的又是没抄全的,下面是safari的设置 ...

  4. Collection子接口(List/Set/Queue/SortedSet)

    Collection基本的子接口: List:能够存放反复内容 Set:不能存放反复内容,全部反复的内容靠hashCode()和equals()两个方法区分 Queue:队列接口 SortedSet: ...

  5. linux下svn客户端安装及环境配置(转)

    一.    源文件编译安装.源文件共两个,为: 1.   下载subversion源文件 subversion-1.6.1.tar.gz http://d136.d.iask.com/fs/800/1 ...

  6. linux命令之partprobe

    使用fdisk工具只是将分区信息写入到磁盘,如果需要使用mkfs格式化并使用分区,则需要重新启动系统.partprobe 是一个可以修改kernel中分区表的工具,可以使kernel重新读取分区表而不 ...

  7. UVA 12378 Ball Blasting Game 【Manacher回文串】

    Ball Blasting Game Morteza is playing a ball blasting game. In this game there is a chain of differe ...

  8. codevs 1269 匈牙利游戏

    /*暴力+乱搞 55分(似乎只有暴力得分了)*/ #include<iostream> #include<cstdio> #include<cstring> #in ...

  9. 关于IIS部署成功后,局域网其他用户无法访问的问题解决方法

    关于win7部署iis后,局域网的其他用户不能访问的问题.   在win7系统中,部署好iis后,自己本地可以发布和预览.但在局域网中的其他用户不可以访问.下面说一下这个原因. 这是因为win7自带的 ...

  10. 数据类型转换中的一些特殊情况(JY06-JavaScript)

    1.字符串的不可变性 字符串定义了后,会一直占据内存空间,企鹅该处内存空间(栈)不可被重新赋值. 2.短路运算 ||.&& 二元运算符,返回参与运算的操作数的原值(原数据类型和原数据) ...