Obtaining Nvidia GPU S/N via linux cli - Printable Version +- hashcat Forum (https://hashcat.net/forum) +-- Forum: Misc (https://hashcat.net/forum/forum-15.html) +--- Forum: Hardware (https://hashcat.net/forum/forum-13.html) +--- Thread: Obtaining Nvidia GPU S/N via linux cli (/thread-5910.html) |
Obtaining Nvidia GPU S/N via linux cli - jodler303 - 09-30-2016 is there a way to obtain the serial numbers for gtx 1080, titan x, 980, etc... via linux command line ? RE: Obtaining Nvidia GPU S/N via linux cli - darkseid4nk - 09-30-2016 nvidia-smi should if it could get that information from the GPU. So I guess it is GPU dependent on whether or not the serial is stored on the card. Code: root@brutalis:~# nvarr=($(nvidia-smi -L | awk ' {gsub(/:/, ""); print $2}')); for i in "${nvarr[@]}"; do nvidia-smi -i $i -q | grep -E 'Minor Number|Product Name|Product Brand|Serial'; done RE: Obtaining Nvidia GPU S/N via linux cli - jodler303 - 10-01-2016 Awesome! Did check the nvidia-* tools before but seems like i missed the S/N's. Indeed doesn't show S/N for GTX980 but it's working for GTX1080's. Sold the titan x meanwhile, can't tell anymore. Thank You !!! Code: Product Name : GeForce GTX 980 RE: Obtaining Nvidia GPU S/N via linux cli - royce - 10-19-2020 I expanded darkseid4nk's script a bit to show some additional particulars for each board. Code: #!/bin/bash |