Any way to check IOPS usage?

Discussion in 'Site & Server Administration' started by postcd, May 21, 2014.

  1. #1
    Hello,
    on a linux server i have high io usage, high %wa value on linux command "top".
    Usually around 20%
    The disk is 7,200 rpm SATA drives HDD ~75-100 IOPS[2] SATA 3 Gbit/s
    So im curious how one can know how many IOPS im actually using? any linux command for this?
    I see number of transaction using "iostat" command:
    [root@* ~]# iostat
    Linux 2.6.18-371.3.1.el5.028stab110.1 (*)    05/21/2014
    
    avg-cpu:  %user  %nice %system %iowait  %steal  %idle
      10.89  0.16  3.59  13.30  0.00  72.05
    
    Device:  tps  Blk_read/s  Blk_wrtn/s  Blk_read  Blk_wrtn
    sda  258.71  513.53  9806.40  995080558 19002149838
    sda1  0.00  0.00  0.00  2308  38
    sda2  258.71  513.53  9806.40  995077970 19002149800
    dm-0  1243.58  513.53  9806.40  995075162 19002148832
    dm-1  0.00  0.00  0.00  2600  2184
    Code (markup):
    i see 1243.58 next to dm-0, so i assume this is not IOPS..
    258.71 is way above Wikipedia announced average IOPs for 7xxxRPM disks..?

    df -h
    Filesystem  Size  Used Avail Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
      1.8T  502G  1.2T  30% /
    /dev/sda1  99M  38M  56M  41% /boot
    tmpfs  12G  0  12G  0% /dev/shm
    Code (markup):

     
    Last edited: May 21, 2014
    postcd, May 21, 2014 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    iotop is pretty handy if you have it installed on your server.
     
    digitalpoint, May 21, 2014 IP