aristocratos / bpytop

Linux/OSX/FreeBSD resource monitor
Apache License 2.0
10.07k stars 397 forks source link

Add support for NetBSD #399

Open 0-wiz-0 opened 1 year ago

0-wiz-0 commented 1 year ago

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:

giampaolo commented 1 year ago

(in case it can be useful to reuse in bpytop) I recently added CI testing for *BSD platforms in psutil: https://github.com/giampaolo/psutil/blob/190059c69d0aa01b3f17ba5191d0a6e6d9669841/.github/workflows/bsd.yml