艾瑞克的 Hexo 空間

[筆記] Linux 底下 檢查硬碟總共寫入了多少空間的指令 - linux command to check total written of disk

本文發表於745天之前,文章內容可能已經過時,如有疑問,請聯繫作者。

[[email protected] ~]# cat /proc/diskstats |grep sda2(or any other disk you want) |awk ‘{print $10 * 512 / 1073741824, “GB”}’

132355GB

[[email protected] ~]

 

avatar
[筆記] mount / unmount disk in windows7 to prevent cryptowall or cryptolocker