how to measure the I/O activities of specific disks

Discussion in 'Mac Apps and Mac App Store' started by kivallee, Feb 9, 2015.

  1. kivallee macrumors newbie

    Joined:
    Feb 9, 2015
    #1
    Hi, there
    I’m a new user of mac, I desire to resolve a problem : measuring the I/O activities of specific disks.
    my structure is blow :
    MBA mid 2012
    disk0: internal SSD on MBA
    disk1: SSD on the usb3.0 enclosure
    disk2: traditional SATAIII hard disk on the usb3.0 enclosure

    I store the virtual machine on the disk1 and run it by the "parallels desktop 10" on MAC. I run some programs like downloading files, BT…etc. But the destination of downloading files is the disk2.
    I desire to measure the I/O activities and that how much data to write and read on disk0, disk1 and disk2.
    I have tried some tools like the iostat, iotop, and the building tools of MAC, but the results are not satisfied me.
    Could give me any advise to figure out this issue?

    PS. I don’t know how to write the scripts…so those ways need to run by scripts are not good to me.

    Thanks a lot!

    Kival
     
  2. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #2
  3. Gadominas macrumors newbie

    Joined:
    Dec 18, 2014
    #3
    I/O stat every second:

    Code:
    iostat -d -w 1
    
    That should work.
     
  4. kivallee thread starter macrumors newbie

    Joined:
    Feb 9, 2015
    #4
    Hello, Gadominas,
    thanks, but the "iostat -d -w 1" just shows the count of transfer, I still don't know the quantities of write and read.

    Code:
              disk0 
        KB/t tps  MB/s 
       23.94  11  0.26 
        4.00   1  0.00 
        4.00   6  0.02 
        4.00   1  0.00 
        0.00   0  0.00 
        0.00   0  0.00 
        4.00   1  0.00 
        0.00   0  0.00 
        4.00   1  0.00 
    

     
  5. kivallee thread starter macrumors newbie

    Joined:
    Feb 9, 2015
    #6

Share This Page