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.

沒有留言:

張貼留言

[Git 常見問題] error: The following untracked working tree files would be overwritten by merge

  Source From  Here 方案1: // x -----删除忽略文件已经对 git 来说不识别的文件 // d -----删除未被添加到 git 的路径中的文件 // f -----强制运行 #   git clean -d -fx 方案2: 今天在服务器上  gi...