Linux Use df Command Disk Free Space In Rhel5 How To Show df Disk Free Space

df Linux command Rhel5 it will report file system disk space. By through these command we can find out how much space is available in the device (maximum size) and how much space has been used disk and the final one free space of there disk. We can use the three important options
-a, --all refers to all the files with dummy files also in the system
-h, --human-readable rhel5 command option it will display option in human readable format like 55 k and 200M 3G
-i,--inodes it will list out the inode block size
Inode refers to the index of the file.
-a option it will list out the all the disk free space

[root@rhel5 ~]# df -a
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
7681392 5308456 1976444 73% /
proc 0 0 0 - /proc
sysfs 0 0 0 - /sys
devpts 0 0 0 - /dev/pts
/dev/sda1 101086 23600 72267 25% /boot
tmpfs 79048 0 79048 0% /dev/shm
none 0 0 0 - /proc/sys/fs/binfmt_misc
sunrpc 0 0 0 - /var/lib/nfs/rpc_pipefs
nfsd 0 0 0 - /proc/fs/nfsd

In disk free in human readable format
[root@rhel5 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
7.4G 5.1G 1.9G 73% /
/dev/sda1 99M 24M 71M 25% /boot
tmpfs 78M 0 78M 0% /dev/shm

Disk free space list out there inode information
[root@rhel5 ~]# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/VolGroup00-LogVol00
1983232 127824 1855408 7% /
/dev/sda1 26104 43 26061 1% /boot
tmpfs 19762 1 19761 1% /dev/shm

Post a Comment

0 Comments