Unless you have a web hosting deal with unlimited disk space, you have likely been concerned about conserving disk space at one time or another. Even if you do have unlimited disk space at your disposal, it is still sometimes helpful to know how much space your websites are using and which sections in particular are taking up the most space.
For dedicated server and VPS users, there are several ways to check disk space, but a shared hosting user may be limited to the web-based control panel. Fortunately, cPanel provides a disk space usage section that is integrated with the control panel’s file manager tool. With it you can view your total disk space usage and also look at how much space each sub-directory within your home directory is using.
The first item in the bar graph will show you “files in the home directory”. That includes all files in your account. The second refers to files in hidden directories (those with a “.” before their name). It then lists several of the directories in your system, including the directory containing your website files. It will also show you the total disk space usage for your MySQL databases and mailing lists. Finally, at the bottom, it shows total disk space usage, and below that, it will show your quota. If you have unlimited space available, the quota will be “999,999.00 MB quota limit”
For any of the directories listed, you can click on their name to open your file manager in a new tab/window. The file manager displays individual directory and file sizes. For more information about the disk usage feature or other components of cPanel, see the cPanel documentation.