[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature request: make df as pretty as ls -l
From: |
Peter D. |
Subject: |
feature request: make df as pretty as ls -l |
Date: |
Sat, 24 Feb 2007 23:55:05 +1100 |
User-agent: |
KMail/1.9.4 |
Hi,
I have a feature request. Can the output from "df" be columnated, like the
output from "ls -l"?
Having thousands separators is great. It makes the output from "df ." much
more human friendly (I have "export BLOCK_SIZE=\'1" in my ~/.bashrc) but
the ouput of "df" below is not as legible as I would like.
address@hidden /mnt/tv->df
Filesystem 1B-blocks Used Available Use% Mounted on
/dev/hdc6 501,782,528 116,626,432 359,659,520 25% /
/dev/hdc2 24,604,319,744 22,441,373,696 913,117,184 97% /mnt/hd
/dev/hdc7 4,120,768,512 1,765,847,040 2,354,921,472 43% /home
/dev/hdc11 38,599,979,008 33,728,983,040 4,870,995,968
88% /mnt/tv
/dev/hdc10 5,050,791,936 2,926,372,864 1,867,792,384 62% /usr
/dev/hdc9 809,363,456 228,661,248 539,578,368 30% /var
/mnt/hd/2007/downloads/isos/mandriva-free-2007-CD1.i586.iso
725,225,472 725,225,472 0
100% /mnt/mandriva-free-2007-CD1.i586
/dev/hdc5 4,654,137,344 1,771,907,072 2,645,756,928
41% /mnt/test
It might look better formatted like this...
Filesystem 1B-blocks Used Available Use% Mounted on
/dev/hdc6 501,782,528 116,626,432 359,659,520 25% /
/dev/hdc2 24,604,319,744 22,441,373,696 913,117,184 97% /mnt/hd
/dev/hdc7 4,120,768,512 1,765,847,040 2,354,921,472 43% /home
/dev/hdc11 38,599,979,008 33,728,983,040 4,870,995,968 88% /mnt/tv
/dev/hdc10 5,050,791,936 2,926,372,864 1,867,792,384 62% /usr
/dev/hdc9 809,363,456 228,661,248 539,578,368 30% /var
/mnt/hd/2007/downloads/isos/mandriva-free-2007-CD1.i586.iso
725,225,472 725,225,472 0 100%
/mnt/mandriva-free-2007-CD1.i586
/dev/hdc5 4,654,137,344 1,771,907,072 2,645,756,928 41% /mnt/test
Set your mail reader to a fixed width font.
Some of the entries are insanely long, but it looks better to me. ;-)
--
sig goes here...
Peter D.
- feature request: make df as pretty as ls -l,
Peter D. <=