使用步骤
使用iostat工具采集硬盘时延数据,整理成指定格式的数据文件slow_data.csv(时延数据的采集方法以及文件格式请参考
数据采集方法
和
文件格式
)。
调用slow_detect接口,输入数据文件,进行慢盘检测。
from BoostKit_KSML.slow_detect import slow_detect slow_detect(r'slow_data.csv', r'result.data')
根据检测结果调整参数,详见
参数包
说明。
父主题:
HDD/SSD慢盘检测