How can we discover the GPU(Graphics process unit) values for Linux server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2025 09:50 AM
How can we discover the GPU(Graphics process unit) values for Linux server. Need below values.
GPU Manufacturer
GPU Type
GPU Count
GPU Memory Size

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-11-2025 04:43 AM - edited ‎02-11-2025 04:52 AM
Hi @K_Sai_K ,
Yes, we can discover the GPU value for linux server. Please follow below steps to get GPU Value.
Step 1) Create Custom variables for these GPU fields as these are not supported by ootb.
Step 2) Connect with your Linux team. To understand which commands to run from the pattern debugger to get these values. For Example, If you need to get GPU Count, we can run lspci | grep -i "vga\|3d\|display" | wc -l or sudo lshw -C display | grep "product" | wc -l. Your linux team, will help you decide which commands to use to get these values as per your environment
Step 3) Create an pattern extension step on the Linux server pattern to get these values. Parse the values and populate on the custom variables.
Regards,
Srinija

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-11-2025 04:47 AM
Hi,
I believe it'll depend on the GPU manufacturer. If you look at the existing Linux Server pattern, you can see it uses cat /proc/cpuinfo to retrieve cpu data.
You could try cat /proc/bus/pci/devices and parse the output. lspci unix command might provide additional data to cat /proc*