Include btop and nvtop as standard packages

Problem/Justification
There currently is no good way to monitor GPU usage in TrueNAS without relying on third-party docker apps or even own debian packages (for which you need to enable developer mode). Nvtop is compatible with nearly every GPU that shows every possible metric you could need for it. It is a simple CLI tool like htop which has no other downsides when being pre-installed as an apt package.

For CPU monitoring there is currently htop, which I tend to find very confusing. Btop is a great alternative that should not replace htop but be an enhancement for (new) users.

Impact
Users with a GPU for local llms, video transcoding, mining, etc would have a way to monitor exactly their GPU usage without relying on any vendor specific command like radeontop (which only works on AMD GPUs), nvidia-smi (which only works on nVidia GPUs) or intel_gpu_top (which only works on i915 Intel GPUs, xe driver for Battlemage is unsupported). This would allow more GPUs to be monitored (Intel Arc Battlemage, Qualcomm iGPU,…) and has no downsides for other users.

Same goes with btop. It is an alternative to htop for users who might like a more modern approach to a cli CPU monitoring tool. As I said, it’s not a replacement but an enhancement for new sysadmins that might have never worked with htop.

User Story
Most users will not notice the addition of nvtop.deb or btop.deb except the people that actively search for it. TrueNAS community edition is not just used by experienced sysadmins but also by newby homelabbers like. I really like a tool to monitor my GPU usage but there currently is just no way for me to do that without installing nvtop myself. I am using an Intel Arc B580 GPU for Jellyfin and it is impossible to monitor it with the pre-installed cli tools.

Thank you for reading and considering my feature request!

The LocalAI ‘app’ container includes monitoring in its GUI if you need an inelegant solution in the short term.

1 Like

I’m currently using Toparr for my B580 gpu (specifically toparr version 2.0.0-snapshot2 which is the only compatible version with my gpu) but would love to have a cli tool

1 Like