SimplyWebHosting.com KnowledgeBase Glossary    Contact Us
Search  
   
Browse by Category
SimplyWebHosting.com KnowledgeBase .: Virtuozzo and OpenVz Based Accounts .: How can I determine which folders or users are using the most disk space in my VPS?

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


How helpful was this article to you?

Related Articles

article How do I add additional disk space to my VPS?
To add additional disk space to your VPS,...

  9-25-2008    Views: 6227   
article How can I tell if my VPS disk space is metered or unmetered?
To tell if your VPS hosting plan has metered or...

  9-25-2008    Views: 7350   
article How do I change the disk space allocated to email storage for my Upipe or MDH domain?
To change the disk space allocated to email...

(No rating)  11-22-2005    Views: 6255   

User Comments

No comments have been posted.


.: Powered by Lore 1.5.4
Copyright 2005-2014 Advantagecom Networks, Inc.
SimplyWebHosting.com - Xen Linux Virtual Private Servers (VPS) - Paypal Accepted