check gpu details on ubuntu machine code example
Example 1: ubuntu check graphics card info
lspci | grep VGA
sudo lshw -C video
sudo lshw -C video | grep product:
Example 2: linux check gpu usage
nvidia-smi -l 1
lspci | grep VGA
sudo lshw -C video
sudo lshw -C video | grep product:
nvidia-smi -l 1