Open modem-man-gmx opened 2 years ago
I think this feature is already implemented, you can set in btop.conf
the following:
use_fstab = False
disks_filter = "/ /mnt/data"
Hmmm ... either it does not work for me, or I am doing things wrong? Could you please take a look here?
under
$ cat /etc/issue
Ubuntu 22.04.2 LTS \n \l
$ uname -a
Linux FileServer 5.15.0-69-generic #76-Ubuntu SMP Fri Mar 17 17:19:29 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
$ btop --version
btop version: 1.2.13
I have ~/.conf/btop/btop.conf
, and no matter if I write
...
disks_filter = "/dev/sda2 exclude=/dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sdd1 exclude=/home/admin2nd/var exclude=/var/data/all_backups exclude=/var/data/BACKUPS0 exclude=/var/data/BACKUPS1 exclude=/var/data/BACKUPS2 exclude=/var/data/BACKUPS3 exclude=/var/data/BACKUPS4 exclude=/var/data/BACKUPS5 exclude=/media"
...
or write
...
disks_filter = "/ /var/PVR /var/data/family exclude=/home/admin2nd exclude=/var/data exclude=/media"
...
I always getting the BACKUPS<n>
in the io window, while only like to see the /dev/sd<x><y>
disks volume data here:
Yes, I have > 50 mount bind entries in mount, because several services (duplicati, cifs, ftps) don't go well with normal mount positions. But the excludes above should hide all BACKUP*
occurrences.
Any hint for me?
Make sure to set use_fstab = False
if you want to specify disks_filter = "/ /mnt/data"
otherwise it will keep pulling from /etc/fstab
no matter what you put in disk_filter
I have plenty of 'mount bind' drives, which I need to filter out for the mem/disk window, because it are physically all the same and supressing space for other physical disks.
I do it via configuration menu, option "disk filter". It only works until close and reopen btop. I guess this happens, because the option seems not to reside in btop.conf. At least regarding the recent documentation.
Would love to see this important filter option in btop.conf
Merci, Thank You and Danke MM