Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Which Terminal command can I use to get this data? (I don't have an M1 MacBook, I'm just curious.)

[edit] Here's my data:

  Percentage Used: 2%
  Data Units Read: 51,571,905 [26,4 TB]
  Data Units Written: 32,365,209 [16,5 TB]
  Host Read Commands: 1,291,777,925
  Host Write Commands: 720,050,493
I got my MacBook (15", 16 GB RAM, 512 GB SSD) in July 2018.


    brew install smartmontools && sudo smartctl --all /dev/disk0


That only works if you already have be Brew installed :) you can get it at https://brew.sh


or with MacPorts:

> sudo port install smartmontools && sudo smartctl --all /dev/disk0


Thanks!




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: