Steps to check high disk usage locations

kumkumsharma

Administrator
Staff member
If you want to check the locations of high disk usage then its very easy.

To know the exact location where you account is using high disk space.

You just have to follow below steps:
  • Login to your account via SSH.
  • To know your current location in directory you can use below command:
Code:
cd ~
  • Now enter below command:
Code:
du -sh * | sort -h
  • If you want to check the disk usage for the particular subdirectory then you can change directory with “cd” command and then run previous command. This will show you the current disk space of your subdirectory.
 
Top