Checking free storage space in Linux
June 23rd, 2006I am new to Linux. I have remote root SSH access to the machine. I will like to know the amount of free storage space on the drives in various partitions. Is there any command or utility to know this?
- Mikin
We can use the “df” command at the terminal prompt to get a report on the available space. The output will look similar to this:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda5 111148100 1575952 103926108 2% /
/dev/sda1 101086 8471 87396 9% /boot
none 517428 0 517428 0% /dev/shm
/dev/sda3 2063536 36936 1921776 2% /tmp
/dev/scd0 593958 593958 0 100% /cdrom
(The information shown above if from a machine at my place of study.)
Leave a Reply