2018年8月8日 星期三

[Linux 常見問題] How to get the GPU info?

Source From Here 
Question 
I'm looking for a command that would give me the same info as: 
# cat /proc/cpuinfo

Except for the GPU (type of the chip and memory, frequency). 

How-To 
I do not know of a direct equivalent, but lshw should give you the info you want, try: 
# lshw -C display
*-display UNCLAIMED
description: 3D controller
product: GK210GL [Tesla K80]
vendor: NVIDIA Corporation
physical id: 4
bus info: pci@0000:00:04.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: msi pm cap_list
configuration: latency=0

You can also install the package lshw-gtk to get a GUI.

沒有留言:

張貼留言

[Linux 常見問題] How to set a file size limit for a directory?

Source From   Here   Question   I   have a directory on my system which is used for a specific reason by applications and users , but I   d...