---
title: 使用步骤
description: "1. 使用iostat工具采集硬盘时延数据，整理成指定格式的数据文件slow_data.csv（时延数据的采集方法以及文件格式请参考数据采集方法和文件格式）。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengboostkithistory/2400/sds/kunpengksml_36_0026.html
sourcePath: /source/zh/kunpengboostkithistory/2400/sds/kunpengksml_36_0026.html
indexId: 5b6d8fbcc86a83af46c1c273a3b5f7508b5b18494c5f30e17b62c5eac2ed7e3667
---
# 使用步骤

1. 使用iostat工具采集硬盘时延数据，整理成指定格式的数据文件slow_data.csv（时延数据的采集方法以及文件格式请参考数据采集方法和文件格式）。
2. 调用slow_detect接口，输入数据文件，进行慢盘检测。
  1 2 from BoostKit_KSML.slow_detect import slow_detect slow_detect(r'slow_data.csv', r'result.data')

3. 根据检测结果调整参数，详见参数包说明。
