how to monitor disk performance as percentage on ubuntu

Discussion in 'HOWTO-Related Questions' started by arastirici, Oct 8, 2011.

  1. arastirici

    arastirici New Member

    how to monitor disk performance as percentage(%) on ubuntu 11.04 ?

    I can see how much cpu or memory use as % with some commandline.
    But I can't see how much the disk uses its resource as percentage.

    Thanks
     
  2. falko

    falko Super Moderator

    Check out this command:
    Code:
    df -h
     
  3. arastirici

    arastirici New Member

    I don't want to see how much the disk is used as bytes.

    I want to see how much the disk is busy as percentage.

    How can I find out this ?

    Thanks
     
  4. nbhadauria

    nbhadauria New Member

    May be hdparm command can help .
     
  5. falko

    falko Super Moderator

    Code:
    df -h
    also shows you the usage in %.
     
  6. arastirici

    arastirici New Member

    But df shows how much a disk uses as byte, I don't want it.

    I wish how much it uses its performance as percentage
     
  7. falko

    falko Super Moderator

    Code:
    mh1:~# df -h
    Filesystem            Size  Used Avail [COLOR="Red"]Use%[/COLOR] Mounted on
    simfs                  58G   31G   27G  [COLOR="Red"]54%[/COLOR] /
    tmpfs                 998M     0  998M   [COLOR="Red"]0%[/COLOR] /lib/init/rw
    mh1:~#
     
  8. arastirici

    arastirici New Member

    I think I was misunderstood.
    I don't want how much the disk has freespace or its data capacity.
    I don't mean disk storage capacity.
    as you know a disk has some performance ( rpm, speed,cache etc..)
    I wish to learn that how much does the disk use its performance as percent during the disk works.
    is there a command for that ?

    Thanks
     
  9. falko

    falko Super Moderator

    Do you mean data transfer rates, I/O rates, etc.?
     
  10. arastirici

    arastirici New Member

    Yes nearly

    I wonder, when will the disk be bottleneck as i/o rates, how much busy is the disk?
     

Share This Page