How can I check my hard disk usage in Linux?

Once you are connected to the server via SSH, run the following command:
# df -h

This will output the usage of each partition in the server. To list the size of a specific directory, run the following command:
# du -sh /home/

If you want to list all the subdirectory sizes under /home, run the following command:
# du -sh /home/*

The output of the 'df' command will show you overall disk usage. To find out how much space a give directory is used us the 'du -s ' command.
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Adding a range/block of ips

As an example to add a /24 253 ips to a linux server follow these setups. We'll use...

Find Out DNS Server IP Address

How do I find out my DNS server IP address assiged my my ISP under Unix or Linux operating system...

How to Check VPS Memory/RAM Usage with SSH

There are a few tools built-in to most Linux distros for gauging and fine-tuning your...

cPanel: Unactive License File

cPanel may spit out a "Unactive License File" error when new IP addresses or added or when your...

What is a VPS ?

VPS stands for Virtual Private Servers. VPS is an isolated server that share the hardware of a...

Powered by WHMCompleteSolution