News

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

2 min read

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.

Source: GitHub

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.

Read next

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

Prasad Ramesh

Data science enthusiast. Cycling, music, food, movies. Likes FPS and strategy games.

Share
Published by
Prasad Ramesh

Recent Posts

Top life hacks for prepping for your IT certification exam

I remember deciding to pursue my first IT certification, the CompTIA A+. I had signed…

3 years ago

Learn Transformers for Natural Language Processing with Denis Rothman

Key takeaways The transformer architecture has proved to be revolutionary in outperforming the classical RNN…

3 years ago

Learning Essential Linux Commands for Navigating the Shell Effectively

Once we learn how to deploy an Ubuntu server, how to manage users, and how…

3 years ago

Clean Coding in Python with Mariano Anaya

Key-takeaways:   Clean code isn’t just a nice thing to have or a luxury in software projects; it's a necessity. If we…

3 years ago

Exploring Forms in Angular – types, benefits and differences   

While developing a web application, or setting dynamic pages and meta tags we need to deal with…

3 years ago

Gain Practical Expertise with the Latest Edition of Software Architecture with C# 9 and .NET 5

Software architecture is one of the most discussed topics in the software industry today, and…

3 years ago