aristocratos / btop

A monitor of resources
Apache License 2.0
21.32k stars 653 forks source link

[REQUEST] Make "disk" available as it's own box #918

Open MrPippin66 opened 3 months ago

MrPippin66 commented 3 months ago

Describe the solution you'd like The current solution has "disk" displayed in the memory box.

I would like to request "disk" be able to have it's entire box without any other shared contexts.

Within this new box format, I would like to have similar filtering and sorting as presented in the "proc" box.

It should allow a tree view that present disks, partitions, and LVM volumes in the same concept presented by "lsblk"

Example from "lsblk"

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 100G 0 disk ├─sda1 8:1 0 500M 0 part /boot ├─sda2 8:2 0 49.5G 0 part │ ├─OSVG-rootvol 253:0 0 8.5G 0 lvm / │ ├─OSVG-swapvol 253:1 0 2G 0 lvm [SWAP] │ ├─OSVG-usrvol 253:2 0 5.9G 0 lvm /usr │ ├─OSVG-localvol 253:12 0 1G 0 lvm /usr/local │ ├─OSVG-optvol 253:17 0 9.8G 0 lvm /opt │ ├─OSVG-tmpvol 253:19 0 3G 0 lvm /tmp │ ├─OSVG-varvol 253:21 0 15G 0 lvm /var │ └─OSVG-homevol 253:23 0 5.9G 0 lvm /home

I should be able to sort by the following fields:

volume name <disk/partition/logical volume> space consumed filesystem name I/O consumption

I should be able to filter the contents by the following metrics:

Volume/filesystem type Don't display logical filesystems (aka, like autofs, cgroup, dbugfs, devpts, proc, sysfs, tmpfs, etc.) Only show logical volumes Only show physical volumes