Actions

Centos Check Disk Space: Difference between revisions

(removed CentOS)
No edit summary
 
Line 1: Line 1:
'''Please use this page instead:'''  [https://docs.prosbc.com/maintenance-and-troubleshooting/maintenance-guide/check-disk-space Check Disk Space]
{{DISPLAYTITLE:Check Disk Space}}
{{DISPLAYTITLE:Check Disk Space}}
This procedure is used to check the remaining disk space on the Linux host.<br>
This procedure is used to check the remaining disk space on the Linux host.<br>

Latest revision as of 14:16, 23 January 2025

Please use this page instead: Check Disk Space


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 *