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 常見問題] What's the best way to send a signal to all members of a process group?

Source From  Here   Question   I want to  kill a whole process tree.  What is the best way to do this using any common scripting languages? ...