

|
 |
Determining How your Disk Space is Being Used
Your disk space quota includes your website files, mysql database, log files, email and any system files located within your account. If you are running low on available
disk space, the Linux command "du" can help you determine which files are using the most space.
- SSH into your account for command-line access.
- Enter the following command:
du -h /www/htdocs/
du - Shows where disk space is being used.
-h - Displays the results in "human" form, using KB and MB rather than displaying everything in bits.
/www/htdocs/ - Tells the system to display the results for your web directory.
Common Directories
Use the following to view the disk usage for the directories that often receive the most activity and take up the most disk space.
du -h /www/htdocs/ /www/cgi-bin/ /www/logs/ /var/spool/ /usr/local/mysql/
|