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

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

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

2. 采集SMART数据（本文档以/dev/sda这块盘为例进行说明）。
  1 smartctl -a /dev/sda
