Disk IO only shown for a few disks #287
-
The disk section of the memory graph has a list of disks, showing their names and capacity in percentage and bytes. How could I make the IO meter work for the rootfs too? I checked my fstab to find if rootfs is unique in some aspects, and it's mounted with the Is it possible that this option is the culprit?I wanted to check this myself earlier, but I haven't found the right moment to reboot the machine, because it plays an important role in the local network. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
The way the IO stats work in bpytop is by using the two But I don't have a solution for this happening right now, but if anyone have any ideas I'm all ears. |
Beta Was this translation helpful? Give feedback.
The way the IO stats work in bpytop is by using the two
psutil
functionspsutil.disk_partitions()
(to get the partitions stats) andpsutil.disk_io_counters(perdisk=True)
(to get the IO stats).But
psutil.disk_io_counters
does not return the full path to the device, so bpytop will try to match the device name to a partition, this can fail in the case of weird device names, like for raided disks or encrypted partitions.I don't have a solution for this happening right now, but if anyone have any ideas I'm all ears.