InfoQuest Knowledgebase InfoQuest Knowledgebase

  • Home
  • Knowledgebase
    • Billing
    • Control Panel
    • Data Center
    • Databases
    • Domains
    • Email
    • FTP
    • Hosted Exchange
    • SSL Certificates
    • Virtual Private Servers
    • Webmail
    • Website Hosting
  • FAQ
  • Contact
  • Visit InfoQuest.com
Home / Virtual Private Servers / How do I find out what files or directories are using up my storage on my CentOS VPS (POA)

How do I find out what files or directories are using up my storage on my CentOS VPS (POA)

First connect to your CentOS VPS using an SSH client like Putty.

A simple command to see how much storage folders are using is:  du -hsc *

You can use this at the root level “/” though often storage is used by a folder under /var /usr /tmp /home, or /root.

It’s often quicker to change to one of these directories first, for example using command:  cd /var

Once you see a directory using a lot of storage change to that directory using the cd command and enter du -hsc * again to see what storage the directories under it are using.

To see a listing of files and their sizes in the current directory use command: ls -alh | more

Virtual Private Servers

Related Articles

  • How do I find a file on a CentOS or Linux VPS (POA)
  • I can no longer RDP to my Windows VPS after making changes to the firewall (POA)
  • I can no longer access my CentOS VPS by SSH after making changes to the firewall (POA)
  • Resetting Plesk SQL Services on Windows VPS (POA)

Knowledgebase Categories

  • 7Billing
  • 50Control Panel
  • 4Data Center
  • 4Databases
  • 12Domains
  • 58Email
  • 4FTP
  • 38Hosted Exchange
  • 7SSL Certificates
  • 25Virtual Private Servers
  • 5Webmail
  • 47Website Hosting

Most Helpful Articles

  • How to change WordPress siteURL to IP address using phpmyadmin (POA)
  • Remove index.php from WordPress URL (POA)
  • How To Setup An Archive Folder in Outlook for MAC (POA)
  • How to Redirect a Registered Domain (POA)
  • Share Exchange Outlook calendar on iOS devices (POA)
  • Changing the WordPress URL Path to web root “/” or another path (POA)
  • Where do I go to leave positive feedback for support?
Copyright © 2020 - InfoQuest Technologies, Inc.