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

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

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

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