iugo / blog

https://iugo.github.io/blog
3 stars 0 forks source link

macOS 查看 SSD 使用情况 #32

Open iugo opened 6 years ago

iugo commented 6 years ago

在之前的 macOS 系统中可以直接通过 Disk Utility 获取一些 SSD 的基本信息, 如通电时间. 在 https://www.techwalla.com/articles/how-to-check-a-macs-smart-status 中的截图可证明.

但是在 High Sierra 中, 通过 Disk Utility -> Info 无法看到一些详细信息了.

1.

这时候通过搜索发现了 SMART Utility 这款软件, 可以通过该软件查询到 SMART 详情.

但是该软件收费, 价格不菲.

2.

继续搜索, 在这里 https://apple.stackexchange.com/questions/135565/how-do-i-get-detailed-smart-disk-information-on-os-x-mavericks-or-later 找到了问题的答案.

通过 smartmontools 这款工具就可以查询. 这是一款开源软件, 基于 GNU GPL 发布.

通过 brew 安装后, 运行 smartctl -h 查看帮助了解一下用法.