How to find the largest folders on linux
This easy command will list the largest folders on your linux machine:
du -a / | sort -n -r | head -n 20
Replace the / with the folder you want to check.
This might take some time.
seen from United States
seen from China

seen from United States

seen from Mexico

seen from Türkiye
seen from Australia
seen from United Kingdom

seen from Germany

seen from T1

seen from United States

seen from United States

seen from United Kingdom
seen from France
seen from Uruguay
seen from United States
seen from Australia
seen from Malaysia
seen from Netherlands
seen from United States
seen from United States
How to find the largest folders on linux
This easy command will list the largest folders on your linux machine:
du -a / | sort -n -r | head -n 20
Replace the / with the folder you want to check.
This might take some time.
How to determine the Wear Level Count on a Samsung SSD in Linux
Use smartctl:
smartctl -a /dev/sda | grep Wear_Leveling_Count 177 Wear_Leveling_Count 0x0013 099 099 000 Pre-fail Always - 5
The last value '5' in this case is the number of PE cycles. You should replace the disk if it hits 1000.
Now you have this value it is possible to estimate when this will be.
smartctl -a /dev/sda | grep Power_On_Hours 9 Power_On_Hours 0x0032 099 099 000 Old_age Always - 3454
In the example the disk has been online for 3454 hours, using 5 PE cycles.
How much time do we have left: (Power_On_Hours / PE cycles) * (1000 - PE cycles) , at this rate the disk will not wear out for the next 28639 days, or 78 years. By then we should have replaced the disk to prevent wearout.