Skip to content

How-ToGPU

How to See Which Apps Are Using Your NVIDIA GPU With nvidia-smi

How to list the apps using an NVIDIA graphics card with nvidia-smi's Processes table or --query-compute-apps, what the C, G and C+G types mean, and why per-app GPU memory can show N/A on Windows.

By , Systems & Technical Editor

2 min read

How to See Which Apps Are Using Your NVIDIA GPU With nvidia-smi

If your graphics card's VRAM is full, fans are spinning at the desktop or a local AI model won't load, the first question is what else is using the GPU. NVIDIA's nvidia-smi tool, installed with the driver, can list every process using the card. This guide is based on NVIDIA's nvidia-smi documentation. That most GeForce cards get more limited information.

Step 1: Run nvidia-smi

Open Terminal (Windows) or a shell (Linux) and type nvidia-smi. Below the GPU summary is a Processes table. NVIDIA describes it as a list of processes with compute, graphics or other resource use on the device. Each entry shows:

  • GPU index (which card, if you have more than one)

  • PID, the process ID

  • Type

  • Process name

  • GPU memory usage

Step 2: Read the process type

NVIDIA's documentation lists these types:

Type

Meaning

C

Compute process, such as an AI or CUDA app

G

Graphics process, such as a game or desktop app

M

MPS (Multi-Process Service) compute process

O

Other process using GPU resources

C+G, M+C

Processes with more than one kind of context

An AI or CUDA app will typically appear as a compute process, while games show as graphics.

Why memory per app may say N/A on Windows

NVIDIA says the per-process GPU memory figure isn't available on Windows when running in WDDM mode, the normal mode for GeForce cards, because Windows manages that memory rather than the NVIDIA driver. To see total VRAM use on Windows, use the summary at the top of nvidia-smi or follow our guide to checking VRAM usage in Windows.

Step 3: Get a list you can save

For a plain list, use the compute apps query: nvidia-smi --query-compute-apps=pid,process_name,used_memory --format=csv. NVIDIA says --query-compute-apps lists currently active compute processes; run nvidia-smi --help-query-compute-apps to see the fields your driver supports. Add -l 5 to repeat it every five seconds.

Step 4: Find and close the app

Use the PID to find the app: in Windows Task Manager, open the Details tab, where the PID column matches. Close the app normally if you can. NVIDIA notes that if the processes using the GPU have exited but a child process still holds the device open, nvidia-smi shows "Unidentified processes found"; on Linux, it suggests lsof to find them.

Going further

If the card is running hot while idle apps hold it busy, see our guide to checking GPU temperature. If the culprit is a local AI model, our guide to checking Ollama is using your GPU explains how to confirm and control where models load.

Our verdict

Typing nvidia-smi shows every process using your NVIDIA card, with its PID and type. On Windows, per-app memory may show N/A, so use the total VRAM figure and match the PID in Task Manager to track down the app.

The bottom line

Typing `nvidia-smi` shows every process using your NVIDIA card, with its PID and type. On Windows, per-app memory may show N/A, so use the total VRAM figure and match the PID in Task Manager to track down the app.

Sources

  1. 01NVIDIA, nvidia-smi documentation (Processes section and --query-compute-apps)

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

How to Fix Slow Token Generation in llama.cpp

How-To

How to Fix Slow Token Generation in llama.cpp

How to fix slow llama.cpp text generation by confirming GPU offload with -ngl and setting -t to your physical core count or lower, with the llama.cpp developers' own example showing the effect of each setting.

Marcus Thorne2 min

How to Run Multiple Models at Once in Ollama

How-To

How to Run Multiple Models at Once in Ollama

How Ollama keeps several models loaded and handles parallel requests, with the defaults for OLLAMA_MAX_LOADED_MODELS, OLLAMA_NUM_PARALLEL and OLLAMA_MAX_QUEUE, how to change them, and how Ollama places models across multiple GPUs.

Marcus Thorne3 min

How to Check a Driver Version in Windows 11

How-To

How to Check a Driver Version in Windows 11

How to check any device's driver version in Windows 11 through Device Manager's Driver tab, and how to see an NVIDIA graphics driver's version by typing nvidia-smi in Terminal.

Marcus Thorne2 min

How to Choose Which GPU Ollama Uses (or Force CPU)

How-To

How to Choose Which GPU Ollama Uses (or Force CPU)

How to make Ollama use a specific graphics card with CUDA_VISIBLE_DEVICES (NVIDIA), ROCR_VISIBLE_DEVICES (AMD ROCm) or GGML_VK_VISIBLE_DEVICES (Vulkan), how to force CPU-only with an invalid ID, and how to check the result with ollama ps.

Marcus Thorne2 min