Btop for DGX Spark

Hi DGX Spark users,

I am sharing a modified version of btop tailored for DGX Spark. I decided to fork and modify the project because the standard version does not display GPU resource information on aarch64 architectures like the DGX Spark.

Key Changes:

  • Aarch64 GPU Support: The upstream Makefile restricts GPU support to x86_64 only. I updated it to enable on aarch64 platforms.

  • GCC 13 Compatibility: The latest btop requires GCC 14+ due to C++23 (std::ranges::to) usage. I refactored this to C++20 compatible logic, allowing successful builds on GCC 13.x environments commonly used on these systems.

Repository:

🔗 GitHub - haven-jeon/btop: A monitor of resources for DGX Spark

Quick Start:

Bash

# Clone
git clone https://github.com/haven-jeon/btop.git
cd btop

# sudo apt install lowdown
# Build (Automatically detects aarch64 and enables GPU support)
gmake -j$(nproc)

# Install
sudo gmake install

After installation, run btop and press 5 to view the GPU metrics.

Hope this helps others working on DGX Spark.

THANK YOU OMG

This is my favourite sanity check tool on all Linux boxes, so thank you very much.

Hope you can PR it back to btop so it ships with support in the future

This is great! I’ve been enjoying dxgtop which I found in this forum a while back, but I’m glad to have another view into my system!