Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon

NVTOP: An htop like monitoring tool for NVIDIA GPUs on Linux

Save for later
  • 2 min read
  • 09 Oct 2018

article-image

People started using htop when the top just didn’t provide enough information. Now there is NVTOP, a tool that looks similar to htop but displays the process information loaded on your NVIDIA GPU. It works on Linux systems and displays detailed information about processes, memory used, which GPU and also displays the total GPU and memory usage.

The first version of this tool was released in July last year. The latest change made the process list and command options scrollable.

Some of the features of NVTOP are:

  • Sorting by column
  • To Select / Ignore a specific GPU by ID
  • To kill selected process
  • Monochrome option


Yes, it has multi GPU support and can display the running processes from all of your GPUs. The information printed out looks like the following, and is similar to something htop would display.

nvtop-an-htop-like-monitoring-tool-for-nvidia-gpus-on-linux-img-0

Source: GitHub

Unlock access to the largest independent learning library in Tech for FREE!
Get unlimited access to 7500+ expert-authored eBooks and video courses covering every tech area you can think of.
Renews at €18.99/month. Cancel anytime


There is also a manual page to give some guidance in using NVTOP. It can be accessed with this command:

man nvtop

There are OS specific installation steps on GitHub for Ubuntu/Debian, Fedora/RedHat/CentOS, OpenSUSE, and Arch Linux.

Requirements


There are two libraries needed to build and run NVTOP:

  • The NVIDIA Management Library (NVML) for querying GPU information.
  • The ncurses library for the user interface and make it colorful.

Supported GPUs


The NVTOP tool works only for NVIDIA GPUs and runs on Linux systems. One of the dependencies is the NVML library which does not support some queries from GPUs before the Kepler microarchitecture. That is anything before GeForce 600 series, GeForce 700 series, or GeForce 800M wouldn’t likely work. For AMD users, there is a tool called radeontop.

The tool is provided under the GPLV3 license. For more details, head on to the NVTOP GitHub repository.

NVIDIA leads the AI hardware race. But which of its GPUs should you use for deep learning?

NVIDIA announces pre-orders for the Jetson Xavier Developer Kit, an AI chip for autonomous machines, at $2,499

NVIDIA open sources its material definition language, MDL SDK