pydf 7

See how much free space is on your disk
pydf is a df (disk free) clone written in Python that uses colors to show free space information.

System-wide configuration is in /etc/pydfrc, per-user
configuration in ~/.pydfrc (format of these files is the same)

The available colors are: none, default, bold, underline, blink, reverse, concealed,  black, green, yellow, blue, magenta, cyan, white, on_black, on_green, on_yellow, on_blue, on_magenta, on_cyan, on_white beep. on_red means that the background (instead of foreground) is painted with red etc...

pydf recognizes following parameters:

  --help                show this help message
  -a, --all             include filesystems having 0 blocks
  -h, --human-readable  print sizes in human readable format (e.g., 1K 234M 2G)
  -H, --si              likewise, but use powers of 1000 not 1024
  -bBLOCKSIZE, --block-size=BLOCKSIZE
                        use SIZE-byte blocks
  -l, --local           limit listing to local filesystems
  -k, --kilobytes       like --block-size=1024
  -m, --megabytes       like --block-size=1048576
  -g, --gigabytes       like --block-size=1073741824
  --blocks              use filesystem native block size
  --bw                  do not use colours
  --mounts=MOUNTS_FILE  File to get mount information from. On normal linux
                        system, only /etc/mtab or proc/mounts make sense. Some
                        other unices use /etc/mnttab. Use /proc/mounts when
                        /etc/mtab is corrupted or inaccesable  (the output
                        looks a bit weird in this case).
  -B, --show-binds      show also mount --bind mounted filesystems

Installation

edit first line of pydf to point to your python interpreter,
copy pydf somewhere into your path,
copy pydf.1 where your manpages reside (e.g. /usr/local/man/man1)
and copy pydfrc into /etc/pydfrc, or ~/.pydfrc

Modify /etc/pydfrc according to your taste.

last updated on:
May 2nd, 2009, 15:07 GMT
price:
FREE!
homepage:
kassiopeia.juls.savba.sk
license type:
Public Domain 
developed by:
Radovan Garabik
category:
ROOT \ Utilities
pydf
Download Button

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Rate it!

Add your review!

SUBMIT