免费注册 查看新帖 |

Chinaunix

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

debian lenny安装iostat工具 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-07-03 13:41 |只看该作者 |倒序浏览
  想在debian下搞一搞IO的测试,居然发现不能运行iostat命令,不得手动安装了,iostat工具是和sar,mpstat打包在sysstat中的。
  安装过程非常的简单,也再次体现了apt包管理的优势,一个命令,全部搞定。
  debian:~# apt-get install iostat
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package iostat
debian:~# apt-get install sysstat
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  isag
The following NEW packages will be installed:
  sysstat
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 200kB of archives.
After this operation, 864kB of additional disk space will be used.
Get:1 http://ftp.debian.org lenny/main sysstat 8.1.2-2 [200kB]
Fetched 200kB in 3s (63.8kB/s)
Preconfiguring packages ...
Selecting previously deselected package sysstat.
(Reading database ... 94006 files and directories currently installed.)
Unpacking sysstat (from .../sysstat_8.1.2-2_i386.deb) ...
Processing triggers for man-db ...
Setting up sysstat (8.1.2-2) ...
Creating config file /etc/default/sysstat with new version
debian:~# iostat -x
Linux 2.6.26-2-686 (debian)     07/03/2009      _i686_
avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           3.74    0.00    2.16    5.13    0.00   88.97
Device:         rrqm/s   wrqm/s     r/s     w/s   rsec/s   wsec/s avgrq-sz avgqu-sz   await  svctm  %util
sda              30.76    77.41   29.77    6.99  1255.15   674.92    52.51     0.66   17.93   3.80  13.95
sda1              4.16     0.00    0.21    0.00     6.07     0.00    28.62     0.00    8.56   5.58   0.12
sda3              1.87     0.00    0.16    0.00     4.07     0.00    25.00     0.00   16.67  13.82   0.22
sda4              0.00     0.00    0.01    0.00     0.01     0.00     2.00     0.00   70.67  70.67   0.05
sda5              6.97    76.78   26.48    6.74  1027.82   668.20    51.05     0.62   18.77   3.92  13.01
sda6              7.66     0.56    1.06    0.21    14.82     6.02    16.48     0.01   11.03   6.40   0.81
sda7              0.16     0.00    0.07    0.00     1.43     0.00    20.71     0.00   25.29  23.71   0.16
sda8              8.03     0.06    1.54    0.04   196.05     0.71   123.93     0.01    6.94   5.85   0.93
搞定!iostat这种常用的性能工具应该默认安装比较更好些。


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/99967/showart_1984816.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP