Disk Usage in cPanel

The cPanel Disk Usage Viewer provides an overview of the disk space that your account is using. It shows disk usage totals for your account’s directories and all of its databases rather than for individual files or databases.

To view the disk usage, please login to your cPanel account and click on Disk Space Usage icon in Files section:

Disk Space Usage in cPanel

The bars in the graph represent disk usage figures relative to the largest directory, not according to a fixed scale:

Listing of Folders with Disk Usage

You can use the File Manager to see disk usage data for individual files, and the MySQL main page to see data usage for individual databases.

Some other import folders to keep in mind are:

/tmp for stat reports (AWStats, Webalizer)
/logs for raw web server logs
/mail for email data for all domains in this account
/etc for email login/passwords

Due to the nature of how files are stored electronically, most files occupy slightly more disk space than their actual size. For example, a 300 byte file may occupy 4 kB of actual disk space. This may cause discrepancies between the data you see in the File Manager versus the information you find in Disk Usage page.

Disk Space Usage Table

Moreover, the disk space usage in the table above indicates how much space the directories’ contents use, not how much space the directory itself uses. Directories themselves usually use a negligible amount of disk space unless they contain a large number of files or subdirectories.

We hope this is helpful information. If you need any assistance, please contact support.

File Manager in cPanel

File manager allows you to manage and edit the files right inside the cPanel interface. You do not need to download/upload the files or require any special software on your computer to edit them. Although this method can be used to create entire website however it is meant for quick fixes or edits on the fly. Normally you would want to keep a local copy of files that you maintain and edit in a developer environment such as Adobe Dreamweaver.

You can access the File Manager under Files section as shown in the screen shot below:

cPanel File Manager

When you click the icon, a small popup window will show to select a folder to open in File Manager. You can choose Home Directory which contains all other files and folders, or you can go directly to web root (i.e. public_html) folder which contains your main website files. Or if you have multiple websites hosted, you can go to any particular document root.

File Manager Directory Selection

You also have the option to Show Hidden Files (files that start with dot) and you can skip this popup in future if you want to open a particular folder every time you go into File Manager.

Show Hidden Files

Once you have made the selection, a new tab or window will open with the File Manager.

File Manager in Action

You will have the folders in a tree structure on the left and files in the selected folder in the right pane. You can do many functions such as Create New File, Copy, Move, Upload, Download, Delete, Rename, Edit, Change Permissions, and View files. For example to rename the file, highlight it and click Rename icon on top menu and you’ll get a popup window to enter new name:

Renaming File in cPanel File Manager

Similarly other functions can be performed. While editing you have the option to edit as text or HTML Editor:

HTML Editor

You can also do code highlighting when editing code files using Code Editor:

Code Editor

We hope the File Manager can be a handy tool. If you need any assistance, please contact support or you can post your comment/question on this blog.

Horde Address Book Showing NULL