【Mac】教你看Mac的硬盤寫入量,估算使用強(qiáng)度和剩余壽命
MacBook Pro一直用固態(tài)硬盤,但固態(tài)硬盤是有寫入量限制的,up總覺得自己MacBook Pro兩年來算是比較中高強(qiáng)度的使用了,今天來看看我自己的MacBook Pro硬盤寫入量是多少?
安裝工具(免費(fèi)的)
1、下載smartmontools命令行工具,Homebrew方式安裝
brew install smartmontools
然后提示:
brew install smartmontools
Running `brew update --preinstall`...
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/smartmontools
#=#=#? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?######################################################################## 100.0%
==> Pouring smartmontools-7.2.big_sur.bottle.tar.gz
*? /usr/local/Cellar/smartmontools/7.2: 36 files, 1.9MB
==> Running `brew cleanup smartmontools`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
2、使用--smart (-s)命令打開S.M.A.R.T監(jiān)控:
smartctl -s on disk0
smartctl 7.2 2020-12-30 r5155 [Darwin 20.6.0 x86_64] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org
NVMe device successfully opened
Use 'smartctl -a' (or '-x') to print SMART (and more) information
3、然后使-a命令查看狀態(tài):
smartctl -a disk0
關(guān)鍵信息如下:
SMART/Health Information (NVMe Log 0x02)
Critical Warning:? ? ? ? ? ? ? ? ? ?0x00
Temperature:? ? ? ? ? ? ? ? ? ? ? ? 36 Celsius
Available Spare:? ? ? ? ? ? ? ? ? ? 100%
Available Spare Threshold:? ? ? ? ? 99%
Percentage Used:? ? ? ? ? ? ? ? ? ? 0%
Data Units Read:? ? ? ? ? ? ? ? ? ? 107,836,335 [55.2 TB]
Data Units Written:? ? ? ? ? ? ? ? ?60,725,169 [31.0 TB]
Host Read Commands:? ? ? ? ? ? ? ? ?1,434,337,759
Host Write Commands:? ? ? ? ? ? ? ? 1,143,456,469
Controller Busy Time:? ? ? ? ? ? ? ?0
Power Cycles:? ? ? ? ? ? ? ? ? ? ? ?200
Power On Hours:? ? ? ? ? ? ? ? ? ? ?1,596
Unsafe Shutdowns:? ? ? ? ? ? ? ? ? ?83
Media and Data Integrity Errors:? ? 0
Error Information Log Entries:? ? ? 0
Read 1 entries from Error Information Log failed: GetLogPage failed: system=0x38, sub=0x0, code=745
可以看到,我的MacBook Pro 寫入31T,讀取55T,持續(xù)使用1600h,非正常關(guān)機(jī)83次
相比起M1芯片的MacBook Pro就好很多,因?yàn)镸1的MacBook Pro被爆兩個月就100多T出去了

如何看剩余壽命
簡單看Percentage Used是多少就行,這個值越高說明壽命不行了,例如這個M1芯片的SSD兩個月?lián)p耗了3%,而我的intel的MacBook Pro 兩年了損耗為0%

總結(jié)
我個人覺得自己算是比較重度使用了,剪視頻比較多一點(diǎn),曾經(jīng)一個臺式機(jī)的SSD都被我整報(bào)廢了。這臺mbp自購買起到現(xiàn)在剛不到2年的時間,希望有mac的朋友分享你的數(shù)據(jù),大家比對一下。