我要评分
获取效率
正确性
完整性
易理解

Data Collection

Use the iostat tool in the sysstat software package to collect drive latency data.

  1. Install the sysstat software package.
    yum install sysstat
  2. Collect drive latency data.
    iostat -x -d 5 120

    This command indicates that I/O device information is collected every 5 seconds for 120 times.

  3. Organize the values in the w_await column of target drives into a CSV file in the specified format.