Debian Package a Day ([info]debaday) wrote,
@ 2004-07-14 08:00:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
discus - Pretty version of df(1) command.
Discus aims to make df prettier, with features such as color, graphs, and smart formatting of numbers (automatically choosing the most suitable size from kilobytes, megabytes, gigabytes, or terabytes). If you don't want Discus deciding the best sizes, you can also choose your own increments, along with specifying the number of decimal places you'd like to see.

Martin S. says,
One of those "impress your geeky coworkers" packages. (Personally, I prefer "df -Tm" when noone is watching... :)


More information on this package can be found on the Debian web site.
(If there is a package you would like to see featured here, go to the userinfo page and follow the directions there to submit your entry.)



(Post a new comment)


[info]rbarclay
2004-07-14 08:09 am UTC (link)
smart formatting of numbers (automatically choosing the most suitable size from kilobytes, megabytes, gigabytes, or terabytes)

Sounds just like df -h to me.

(Reply to this) (Thread)


[info]ydna
2004-07-14 09:34 am UTC (link)
Sample output from discus, sans color:
Mount           Total         Used         Free       Prcnt      Graph
/               91.1 meg     49.8 meg     36.6 meg    54.6%   [*****-----]
/               91.1 meg     49.8 meg     36.6 meg    54.6%   [*****-----]
/dev/shm       378.3 meg         0 KB    378.3 meg     0.0%   [----------]
/boot           91.1 meg      9.5 meg     76.9 meg    10.4%   [*---------]
/usr            1.88 gig     1.04 gig    760.3 meg    55.4%   [******----]
/var            1.88 gig    358.3 meg     1.43 gig    18.6%   [**--------]
/backup         1.91 gig    310.9 meg     1.60 gig    15.9%   [**--------]
/raid         335.26 gig   271.48 gig    63.78 gig    81.0%   [********--]
I'd say it's cute, personally. I suppose if I had a hundred mounts this might be more interesting. But then I'd want totals of the columns, etc.

(Reply to this) (Parent)(Thread)


[info]rbarclay
2004-07-14 12:16 pm UTC (link)
Cute, yes, but I was specifically referring to the "smart formatting of numbers" part, which plain GNU df does for quite some time now:
:) waldner@fsck->~ $ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda3             958M  132M  778M  15% /
/dev/hda1             122M   31M   85M  27% /boot
/dev/hda5             4,6G  3,6G  804M  82% /usr
/dev/hda6             3,8G  2,7G  896M  76% /var
/dev/hda7             9,2G  5,2G  3,6G  59% /home

(Reply to this) (Parent)(Thread)


[info]ydna
2004-07-14 12:23 pm UTC (link)
I agree there. Same but different. Depends on what one prefers. And df gets it "right" in my book by only showing two or three significant digits. Any more than that is noise (and if I needed all the detail, I'd use the block-based output anyway).

(Reply to this) (Parent)


(Anonymous)
2004-07-16 04:35 pm UTC (link)
pydf !

(Reply to this) (Parent)


Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…