Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, While iostat give the r/s and w/s info on a device basis, I was looking for a similar info for a particular mount in that device. Is this possible. ...
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    2

    iostat on a specific mount

    Hi,

    While iostat give the r/s and w/s info on a device basis, I was looking for a similar info for a particular mount in that device. Is this possible. For example my df -h shows
    /dev/mapper/vg00-lv_usr 5242880 472775 4770105 10% /usr

    I would like to get the io information only for the /usr. How can I achieve this.

    Pots.

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    i don't think its possible, i think it is only per device, you would have to monitor whatever devices are being used for the logical volume

  3. #3
    Just Joined!
    Join Date
    Mar 2010
    Posts
    2
    Thanks for the reply. However even on the iostat the # of r/s and w/s do not seem to be appropriate for the kind of testing I am doing. First of all I doing equal # of reads and writes but r/s show 1 or 2 most of the time and w/s shows very high #s like 800 or even 2000 but 0 most of the time. Can you explain what could be going on.

  4. #4
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,099
    Hmm,
    atop with the kernel patches will give you IO per process, if that is any help?

    I never went through the trouble of patching the kernel just for that,
    as atop without kernel patches, but with a update time of 1 sec usually gives enough hints on what process needs what.

    Code:
    atop 1
    You must always face the curtain with a bow.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...