If you notice your harddrive space is dropping dramatically, check the tmp and log folders occasionally for unusually large files:
(e.g. security logs of 50gb or apache/http logs of 300gb)
Specifically, check /var/log and /var/tmp:
If you're not comfortable in the terminal, use the Finder's Go -> Go to Folder option and enter /var/log.
For those of us comfortable in the terminal, we can also start checking folder sizes from the top, like below:
$ sudo du -h -d 1
You will be prompted for your password and get output similar to:
0B ./.Trashes
2.0K ./.vol
499M ./Applications
6.0K ./automount
3.5M ./bin
144M ./cores
2.0K ./dev
0B ./Groups
593M ./Library
3.0K ./Network
To sort the results from highest folder usage to lowest folder usage, enter:
$ sudo du -sk | sort -rn
15529744 Downloads
8168496 Library
587472 Music
136288 Desktop
135652 Pictures
38736 Calibre Library
22468 javasharedresources
5176 Documents
412 VMware
36 Movies
32 Virtual Machines.localized
28 stkeystore.p12
8 Public
4 notes.ini
4 DOS Games
0 Applications
previous page
|