macOS 下使用 smartmontools 查看 SSD 的写入量

最近有看到新闻,说 M1 芯片的 Macbook 固态硬盘的写入量过高,想必大家也想看看自己 SSD 的写入量吧,今天就给大家介绍一款命令行工具:smartmontools 来查看 SSD 的写入量。

大家在购买二手 Macbook 的时候也可以使用这个命令来检测一下 SSD 的写入量来推断 SSD 的损耗,毕竟现在 Macbook 的 SSD 都是直接焊在主板上的,更换 SSD 的代价太高。

smartmontools 的安装

推荐使用 Homebrew 安装:

brew install smartmontools

smartmontools 的使用

安装完成之后,先打开 S.M.A.R.T 监控,这里的 disk0 就是我们的磁盘,我们在“关于本机”–>“系统报告”中的 NVMExpress 里面可以看到 SSD 的 BSD名称:

smartctl -s on disk0

然后使用 -a 命令查看状态:

smartctl -a disk0

结果如下,里面的Percentage Used 就是损耗值,Data Units Written 就是写入量:

macos 下使用 smartmontools 来查看 SSD 的写入量和损耗值

扩展阅读:

解决数据丢失的最好办法就是备份,了解 Time Machine 本地快照

2 Comments

    1. 你也可以从下面看到 SMART 的数据,175 Host_Writes_MiB 应该就是写入量。

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>