How can I determine which folders or users are using the most disk space in my VPS?

To determine what is using up the majority of your disk space, run the following commands in a shell prompt in your VPS:

du -sh /home
du -sh /var
du -sh /log

Run this command on the /home, /var and /log directories, because these are the directories that are most commonly filled with user data and log files

The output of these commands will look something like this:

du -sh /home
3.1G    /home

meaning that 3.1 GB of data is stored in the /home directory. To determine which folders within /home are using the most space, run the following command:

du -sh /home/*

which will list the size of each folder in /home. This is useful in determining which users are consuming the most disk space in your VPS.

For more information on using the du command, run the following command in a shell prompt:

man du

  • 0 Utilisateurs l'ont trouvée utile
Cette réponse était-elle pertinente?

Articles connexes

How do I add a user for my website in the BlueOnyx control panel?

To add a user for a website in the BlueOnyx control panel, follow these steps: Click on the...

How do I add a website in the BlueOnyx control panel?

Follow these steps to create a website in the BlueOnyx control panel: Login to the BlueOnyx...

How do I add DNS records for my hwVPS account?

The steps to add DNS records for your hwVPS account are as follows: Log into the hwVPS DNS...

How can I add a new mailbox?

To add a new mailbox follow these steps: Go to your control panel at...

Powered by WHMCompleteSolution