As discussed in https://github.com/giampaolo/psutil/issues/2250, bpytop needs a couple more hasattr checks to avoid warnings on NetBSD.
In the bug report at least the following two were identified:
AttributeError: module 'psutil' has no attribute 'cpu_freq'
30/04/23 (16:50:52) | ERROR: Data collection thread failed with exception: invalid attr name 'cpu_num'
As discussed in https://github.com/giampaolo/psutil/issues/2250, bpytop needs a couple more
hasattr
checks to avoid warnings on NetBSD. In the bug report at least the following two were identified: