---
title: 数据采集方法
description: "使用smartmontools软件包中的smartctl工具采集SMART数据。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengaccel/storage/ksml/kunpengksml_36_0034.html
sourcePath: /source/zh/kunpengaccel/storage/ksml/kunpengksml_36_0034.html
indexId: f3b3bc45c996632d8813cb6fc317adaf13df309aa0cf70768a846c07ed73b37861
---
# 数据采集方法

使用smartmontools软件包中的smartctl工具采集SMART数据。

1. 安装smartmontools软件包。
  1 yum install smartmontools

2. 以采集/dev/sda这块盘的SMART数据为例。
  1 smartctl -a /dev/sda
