The “pydf” (Python Disk File System) is an advanced command line tool and a good alternative to Linux “df comand”. It is used to display the amount of used and available disk space on a Linux file systems, same like df command, but in different colours.
Installing pydfBy default, pydf tool is not installed on Linux distributions, you need to install it using third party repository. So, first enable
EPEL repository and afterwards enabling it, use the following “yum command” to install it.
# yum install pydfHow to Use pydf CommandIf you run only "
pydf" command without specifying argument, it will display just information of disk space usage along with all mounted file systems.
# pydf -a
Filesystem Size Used Avail Use% Mounted on
/dev/vzfs 20G 8343M 12G 40.7 [###########.................] /
none 256M 4096B 256M 0.0 [............................] /dev
none 0 0 0 - [............................] /dev/pts
none 256M 0 256M 0.0 [............................] /dev/shm
proc 0 0 0 - [............................] /proc
none 0 0 0 - [............................] /proc/sys/fs/binfmt_misc
sysfs 0 0 0 - [............................] /sys