Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: pydf  (Read 2566 times)

0 Members and 1 Guest are viewing this topic.

Vinil

  • Guest
pydf
« on: February 08, 2014, 07:04:15 am »
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 pydf

By 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 pydf


How to Use pydf Command

If you run only "pydf" command without specifying argument, it will display just information of disk space usage along with all mounted file systems.

Code: [Select]
# pydf -a

Quote
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