Get the App
SLTechnology News&Howtos  ›  Servers  › 

The method of checking the model of graphics card by linux

Shulou Source: shulou.com Published: 2022-06-03 03:45:51 09月22日 Update

Method 1.

Lspci | grep-I vga

The return result of this command is a hexadecimal number code, as shown in the following figure:

Method 2.

Nvidia-smi

If we know that our video card is a NVIDIA video card, we can directly use the command nvidia-smi, and the output is as follows:

These are the details of how linux views the video card model. Please pay attention to other related articles for more information.

Tags: Graphics card method command result model code content hexadecimal that is numbers articles more output Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Shulou Tech Info Apple Linux MariaDB