终端查看 Mac mini 硬盘读写数据,感觉超出我使用的范围 - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
omz
V2EX    Apple

终端查看 Mac mini 硬盘读写数据,感觉超出我使用的范围

  •  
  •   omz 203 天前 4052 次点击
    这是一个创建于 203 天前的主题,其中的信息可能已经有所发展或是发生改变。

    日常只是普通上网、看视频,没进行其他繁重操作,然而自 2024 年 11 月下旬激活至今,竟已读写了这么多 TB !

    Data Units Read: 17,057,946 [8.73 TB] Data Units Written: 8,959,824 [4.58 TB] Power Cycles: 213 Power On Hours: 226 
    37 条回复    2025-06-26 21:45:11 +08:00
    Jaxen
        1
    Jaxen  
       203 天前
    使用什么命令进行查看?
    omz
        2
    omz  
    OP
       203 天前
    @Jaxen #1 /usr/local/sbin/smartctl -a /dev/disk0
    eventlooped
        3
    eventlooped  
       203 天前
    littlewing
        4
    littlewing  
       203 天前
    no such file or directory: /usr/local/sbin/smartctl
    rqYzyAced2NbD8fw
        5
    rqYzyAced2NbD8fw  
       203 天前   1
    @littlewing #4 brew install smartmontools
    cander0815
        6
    cander0815  
       203 天前
    是不是 swap ,macos 这个还是动态大小
    suitts
        7
    suitts  
       203 天前
    swap 和时间机器都会大量读写
    dilidilid
        8
    dilidilid  
       203 天前
    不看就当没有,你这还是 mini ,坏了直接买个小板插上去就满血复活
    PrilgrimLi
        9
    PrilgrimLi  
       202 天前
    我每周 time mechine 一次,每天工作文件备份一次。
    Lanayaaa
        10
    Lanayaaa  
       202 天前
    内存(ram)不够的时候,会使用硬盘。
    goodryb
        11
    goodryb  
       202 天前
    感觉差不多,也是日常办公使用

    === START OF SMART DATA SECTION ===
    SMART overall-health self-assessment test result: PASSED

    SMART/Health Information (NVMe Log 0x02)
    Critical Warning: 0x00
    Temperature: 30 Celsius
    Available Spare: 100%
    Available Spare Threshold: 99%
    Percentage Used: 2%
    Data Units Read: 142,584,808 [73.0 TB]
    Data Units Written: 98,952,075 [50.6 TB]
    Host Read Commands: 3,420,898,914
    Host Write Commands: 1,998,494,884
    Controller Busy Time: 0
    Power Cycles: 206
    Power On Hours: 2,035
    Unsafe Shutdowns: 19
    Media and Data Integrity Errors: 0
    Error Information Log Entries: 0
    JoshTheLegend
        12
    JoshTheLegend  
       202 天前
    swap bug 重出江湖?
    swmjjy
        13
    swmjjy  
       202 天前
    我这也是, 63 小时活动时间, 122T 读取 36T 写入

    totoro625
        14
    totoro625  
       202 天前
    软路由就跑了 surge
    Data Units Read: 193,088,741 [98.8 TB]
    Data Units Written: 23,235,463 [11.8 TB]
    Power On Hours: 1,984
    hefish
        15
    hefish  
       202 天前
    为啥要关机啊。。。我天天都不关机,家里的也不关,办公室的更不关了。。。
    croient
        16
    croient  
       202 天前
    21 年 11 月买的
    ---
    Data Units Read: 199,188,276 [101 TB]
    Data Units Written: 81,802,335 [41.8 TB]
    Power Cycles: 274
    Power On Hours: 2,616
    SparkChiu
        17
    SparkChiu  
       202 天前
    @PrilgrimLi 你用什么 time mechine 方案?外接个移动硬盘吗?
    5n65MLXs6OLPCWOF
        18
    5n65MLXs6OLPCWOF  
       202 天前
    Data Units Read: 265,259,705 [135 TB]
    Data Units Written: 52,114,232 [26.6 TB]
    Power Cycles: 315
    Power On Hours: 1,864

    我的似乎还算正常
    U2Fsd
        19
    U2Fsd  
       202 天前
    22 年的机器
    ---
    Data Units Read: 213,478,169 [109 TB]
    Data Units Written: 127,799,007 [65.4 TB]
    Power Cycles: 223
    Power On Hours: 2,408
    klarkzh
        20
    klarkzh  
       202 天前 via iPhone
    这才多少,感觉比较正常
    zhlssg
        21
    zhlssg  
       202 天前
    Data Units Read: 2,373,695 [1.21 TB]
    Data Units Written: 1,600,962 [819 GB]
    Host Read Commands: 46,287,609
    Host Write Commands: 25,663,192
    Controller Busy Time: 0
    Power Cycles: 160
    Power On Hours: 34
    bjfane
        22
    bjfane  
    PRO
       202 天前
    之前发现过两个原因:
    一个是动态视频壁纸屏保,读的数据层层的涨,
    上周是发现 ms_stores 写入量明显异常,一天打大概,读几十 G ,写 450G ,写明显异常,直接找了一个“临时”关聚焦的,
    现在好了,我是非主力,但是 24 小时开机机器。
    dz5362
        23
    dz5362  
       202 天前
    Data Units Read: 62,961,353 [32.2 TB]
    Data Units Written: 54,177,228 [27.7 TB]
    Power Cycles: 286
    Power On Hours: 1,018
    2022 年买的三手 2020 年 m1 官翻机,过去 3 年都是主力机,不过是 16g 定制内存版本,看起来也算正常
    Jaxen
        24
    Jaxen  
       202 天前   1
    @littlewing #4 是没有这个文件,用 brew 下载 smartmontools:brew install smartmontools;查看 smartctl --version; 查看用量直接使用: smartctl /dev/disk0
    Jaxen
        25
    Jaxen  
       202 天前
    同样 11 月第一批激活 M4 Mac mini
    SMART/Health Information (NVMe Log 0x02)
    Critical Warning: 0x00
    Temperature: 34 Celsius
    Available Spare: 100%
    Available Spare Threshold: 99%
    Percentage Used: 1%
    Data Units Read: 29,231,891 [14.9 TB]
    Data Units Written: 34,498,963 [17.6 TB]
    Host Read Commands: 635,112,197
    Host Write Commands: 435,696,407
    Controller Busy Time: 0
    Power Cycles: 203
    Power On Hours: 336

    不太用管这个吧。
    JobsHuang
        26
    JobsHuang  
       202 天前
    SMART/Health Information (NVMe Log 0x02)
    Critical Warning: 0x00
    Temperature: 33 Celsius
    Available Spare: 100%
    Available Spare Threshold: 99%
    Percentage Used: 6%
    Data Units Read: 670,498,141 [343 TB]
    Data Units Written: 319,085,690 [163 TB]
    Host Read Commands: 19,210,350,705
    Host Write Commands: 6,935,385,126
    Controller Busy Time: 0
    Power Cycles: 561
    Power On Hours: 5,635
    Unsafe Shutdowns: 188
    Media and Data Integrity Errors: 0
    Error Information Log Entries: 0
    234ygg
        27
    234ygg  
       202 天前
    smartctl 显示的 Power Cycles 和 Power On Hours 都是错的,很多年了一直这样。written 和 read 是正确的
    G900
        28
    G900  
       202 天前
    Data Units Read: 2,073,995 [1.06 TB]
    Data Units Written: 6,899,411 [3.53 TB]

    买了不到一个月的 m4 mini ,硬盘才用了不到 100g ,怎么能写 3T 这么多? 64g 内存,swap 0
    lpxxn
        29
    lpxxn  
       202 天前
    === START OF SMART DATA SECTION ===
    SMART overall-health self-assessment test result: PASSED

    SMART/Health Information (NVMe Log 0x02)
    Critical Warning: 0x00
    Temperature: 42 Celsius
    Available Spare: 100%
    Available Spare Threshold: 99%
    Percentage Used: 0%
    Data Units Read: 10,703,272 [5.48 TB]
    Data Units Written: 16,233,321 [8.31 TB]
    Host Read Commands: 336,414,512
    Host Write Commands: 270,503,078
    Controller Busy Time: 0
    Power Cycles: 217
    Power On Hours: 134
    Unsafe Shutdowns: 4
    Media and Data Integrity Errors: 0
    Error Information Log Entries: 0
    dropdatabase
        30
    dropdatabase  
       202 天前
    Data Units Read: 265,740,588 [136 TB]
    Data Units Written: 198,510,792 [101 TB]
    Host Read Commands: 3,126,164,313
    Host Write Commands: 1,353,345,882
    xz410236056
        31
    xz410236056  
       202 天前
    @G900 cache 呢?会定期自动清吧
    samersions
        32
    samersions  
       202 天前
    22 年 6 月买的官翻:
    Data Units Read: 84,645,751 [43.3 TB]
    Data Units Written: 87,888,056 [44.9 TB]
    Host Read Commands: 1,808,611,500
    Host Write Commands: 1,764,350,173
    samersions
        33
    samersions  
       202 天前
    @samersions 21 款 MBP 14 寸丐版( 16+512 )
    Salvin
        34
    Salvin  
       201 天前
    22 年的机器
    Data Units Read: 33,372,777 [17.0 TB]
    Data Units Written: 41,655,665 [21.3 TB]
    Host Read Commands: 710,995,409
    Host Write Commands: 967,756,860
    Controller Busy Time: 0
    Power Cycles: 250
    Power On Hours: 648
    PrilgrimLi
        35
    PrilgrimLi  
       201 天前
    @SparkChiu 是的,闪迪 E60
    nuevepicos
        36
    nuevepicos  
       201 天前
    用 DriveDx 查询了一下

    我的 m1 mba
    Data Units Read: 102.7 TB
    Data Units Written: 56.8 TB
    Power Cycles: 386
    Power On hours: 1751

    Life Percentage Used: 96%(新的 100%,消耗掉 4%)
    SZP1206
        37
    SZP1206  
       105 天前
    Percentage Used: 6%
    Data Units Read: 219,975,672 [112 TB]
    Data Units Written: 175,924,143 [90.0 TB]
    Host Read Commands: 1,317,754,634
    Host Write Commands: 715,762,467
    Controller Busy Time: 0
    Power Cycles: 228
    Power On Hours: 581
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     3443 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 26ms UTC 04:23 PVG 12:23 LAX 21:23 JFK 00:23
    Do have faith in what you're doing.
    ubao snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86