ubuntu check gpu model code example
Example 1: which gpu do i have linux
sudo lshw -C display
Example 2: ubuntu check graphics card info
lspci | grep VGA
sudo lshw -C video
sudo lshw -C video | grep product:
Example 3: linux check gpu usage
nvidia-smi -l 1