Iotop: I/O 监视器

原贴:http://linuxtoy.org/archives/iotop.html

Iotop: I/O 监视器

<script type="text/javascript"><!-- google_ad_client = "pub-9432205671574187"; //LT, 300x250 google_ad_slot = "9869120281"; google_ad_width = 300; google_ad_height = 250; //--></script> <script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"> </script> <script src="http://pagead2.googlesyndication.com/pagead/expansion_embed.js"></script> <script src="http://googleads.g.doubleclick.net/pagead/test_domain.js"></script> <script>window.google_render_ad();</script>

Iotop 是一个用来监视磁盘 I/O 使用状况的 top 类工具。如下图所示,Iotop 具有与 top 相似的 UI,其中包括 PID、用户、I/O、进程等相关信Iotop

Iotop 使用 Python 语言编写而成,要求 Python 2.5(及以上版本)和 Linux kernel 2.6.20(及以上版本)。

Iotop 提供有源代码及 RPM 包,可从其官方主页下载。

Iotop

署名 • 注明出处 • 非商业性使用

10 Comments

  1. 1 Badsol Commented @ 2009-03-16 5:18 pmReply to this comment

    Python 写的东西越来越多了,未来是脚本的时代了。。。

  2. 2 hmy Commented @ 2009-03-16 5:24 pmReply to this comment

    不错不错
    顺便推荐一个从别的地方看来的好工具
    nmon,强烈推荐

  3. 3 GunsNRose Commented @ 2009-03-16 5:26 pmReply to this comment

    一直用iotop这个工具,记得好像要2.6.24的内核以上才有这个功能

  4. 4 Hao Zhe XU Commented @ 2009-03-16 7:31 pmReply to this comment

    我是noob+newbie,谁能告诉我脚本的速度,编译代码的程序的速度,以及Java这种半编译半解释的程序的速度,到底如何排序?谢谢大家!

  5. 5 chroot Commented @ 2009-03-16 8:53 pmReply to this comment

    @Hao Zhe XU: 小程序的话,编译和解释的速度差别不大,至于 java …… 那龟速是由它的工作原理决定的,囧。

  6. 6 fcicq Commented @ 2009-03-16 9:39 pmReply to this comment

    nmon 测试了. 有许多地方不准确.
    数字读取 (应该 human readable, 数字对齐也不对劲) 上不如 top 和其它一些工具,
    扩展性几乎没有.
    如果喜欢和数字打交道的话, 那个难看的图有和没有一样.

  7. 7 slackcode Commented @ 2009-03-16 10:08 pmReply to this comment

    好东西啊
    不过要用python……

  8. 8 amitabher Commented @ 2009-03-16 11:04 pmReply to this comment

    @chroot:不知道java和python比,到底哪儿龟速了?

  9. 9 walter Commented @ 2009-03-17 1:34 amReply to this comment

    我觉得 java程序与python程序最主要的缺点是 太耗内存。
    如果在内存足够的情况下,java程序比python程序略慢,还可以忍受。

  10. 10 whycrying Commented @ 2009-03-17 9:15 amReply to this comment

    这样讨论是没有意义的。
    每种语言有它自身的有它自身的优点和缺点,有它的应用范畴。
    知道这点,你会明白为什么现在 Linux 中 python 程序越来越多的原因。

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值