This knowledgebase article will instruct you on how you can monitor the disk usage of a specific application along with the graphical representation of the statistics. You will also learn how to view the statistics of application files and database consumption of the server disk.
Visiting the Application Monitoring Section
The following steps will demonstrate how you can view the statistics mentioned above, so firstly we need to access the application monitoring section of the platform.
Log in to Cloudways Platform, click on the Servers tab from the top menu bar and choose your target server.
Next, click on the www icon located on the right-hand side of the server tab.
Select a target application from the drop-down list.
Click on the Monitoring option from the left menu bar, then click on Analytics and choose Disk Usage from the given choices.
Disk Usage Section
Click on the Summary tab, and this section displays information about the disk utilization of a specific application (web files + database) and also lists the top webroot directories and top database tables that consume the disk space.
Part A: Files Usage
You will see the total size of web application files which includes webroot directories, web log files, configuration files, and local backups (if enabled) under the File Usage section, and if you expand See Top Webroot Folders Consuming The Disk Space, then you will see a list of top webroot folders occupying the disk space.
Part B: Database Usage
You will see the total size of the database, and if you expand See Top Database Tables Consuming The Disk Space, then you will see a list of top webroot folders occupying the disk space.
Part C: Total Usage
You will also see a total disk usage as well of this target application under the Total Usage section.
Part D: View History of Disk Space Utilization
You can go to the Details tab to view the history of disk space utilization (in MBs) by current application over a specific period, and this information is available graphically, so you also need to select the period from the drop-down option as shown in this reference image.
Here, X-Axis represents the day & time whereas, Y-Axis represents the disk space consumption in MBs by this application.
These statistics for disk usage of Application does not include:
Files/folders linked to the master/application user.
Space utilized by cron jobs.
Any files outside the application home directory such as the default PHP location for sessions.
That’s it! We hope this article was helpful. If you need any help, then feel free to search your query on Cloudways Support Center or contact us via chat (Need a Hand > Send us a Message). Alternatively, you can also create a support ticket.