Actions

Centos Check Disk Space: Difference between revisions

mNo edit summary
(removed CentOS)
Line 1: Line 1:
{{DISPLAYTITLE:Centos Check Disk Space}}
{{DISPLAYTITLE:Check Disk Space}}
This procedure is used to check the remaining disk space on the CentOS Linux host.<br>
This procedure is used to check the remaining disk space on the Linux host.<br>
Since this is a standard distribution of Linux, customers can use other available commands.
Since this is a standard distribution of Linux, customers can use other available commands.



Revision as of 10:29, 17 May 2024

This procedure is used to check the remaining disk space on the Linux host.
Since this is a standard distribution of Linux, customers can use other available commands.

Check disk space

From the web interface you can see the free disk space:

 Hosts -> Status -> Select Host -> Filesystem Usage tab


From the SSH access, here are the available commands.
With the df command you can see the available disk space of each partition. If any partition shows Use% at 100%, please contact support.

# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda5             3.9G  2.1G  1.7G  56% /
/dev/sda7              21G  9.0G   11G  46% /mnt/.0
/dev/sda6             2.0G   36M  1.9G   2% /tmp
/dev/sda2             4.9G  887M  3.8G  19% /var
/dev/sda1             494M   26M  443M   6% /boot
tmpfs                 997M     0  997M   0% /dev/shm

With the du command, you can see the relative size of each folder:

du -sh *