Skip to content

Proposal: Graphs of different width #23

@scrouthtv

Description

@scrouthtv

Hello,
first and foremost, I really like dfc. On my server I have multiple hard drives of different size:

FILESYSTEM      TYPE     (=) USED      FREE (-)  %USED   USED AVAILABLE  TOTAL MOUNTED ON
/dev/sdb1       fuseblk  [=================---]  81.0% 754.7G    176.9G 931.5G /media/00
/dev/mapper/vc1 ext4     [===================-]  90.2% 498.8G     57.1G 585.8G /media/01
/dev/mapper/vc2 ext4     [=================---]  82.0% 704.6G    164.6G 915.9G /media/02
/dev/mapper/vc3 ext4     [==============------]  69.0% 374.6G    181.4G 585.8G /media/03

Now, as you can see, the hard drives are of different sizes each so it's a bit hard at first glance to see which one has the most free space.
For this reason I was thinking of an alternative graph display where each graph resembles the absolute size of the fs and is filled up accordingly, something like this:

FILESYSTEM      TYPE     (=) USED      FREE (-)  %USED   USED AVAILABLE  TOTAL MOUNTED ON
/dev/sdb1       fuseblk  [==============----]    81.0% 754.7G    176.9G 931.5G /media/00
/dev/mapper/vc1 ext4     [=========-]            90.2% 498.8G     57.1G 585.8G /media/01
/dev/mapper/vc2 ext4     [=============---]      82.0% 704.6G    164.6G 915.9G /media/02
/dev/mapper/vc3 ext4     [=======---]            69.0% 374.6G    181.4G 585.8G /media/03

This is a very crude mock up of what I have in mind. (I know that my specific scenario is rather a thing for LVM but I'm to lazy.)

Let me know what you think about this and if you're interested in a feature like this, I'd work on a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions