How to check the graphics card on a Linux server?
To view graphics card information on a Linux server, you can use the following methods:
- Use the command line tool lspci to view information about the graphics card. Open the terminal and enter the following command:
lspci | grep -i vga
This command will display information about the graphics card on the server.
- Open the terminal and enter the following command to use the command line tool lshw to view detailed hardware information.
sudo lshw -C display
This command will display detailed information about the display devices, including the graphics card.
- Use the command line tool nvidia-smi to check detailed information about NVIDIA graphics cards. If the server has installed NVIDIA graphics card drivers, you can use the following command:
nvidia-smi
This command will display relevant information about the NVIDIA graphics card, such as model, driver version, temperature, etc.
Please note that the above command may need to be executed in a terminal running with administrator privileges (using the sudo command). If the necessary command line tools are not installed on the server, they can be installed using a package manager.