[Reserved] How can I find my hardware details?

 

 

How can I find my hardware details?

ubuntuer  Q &  2017-05-09 17:35   to comment

Problem Description

Is there any software or built-in terminal method allows me to view the hardware configuration file on your system? This function is equivalent to the Windows Device Manager.

 

Best Solutions

There are several options:

  • lspciI will quickly show you the way to most of the hardware. It has a level of detail different levels, so if you need to, you can use -vand -vvsigns derive more information. -kArgument is a good way to find a hardware driver which kernel is being used. -nnWill let you know a simple easy to use hardware ID search.

    But it's just a list of hardware is very simple and quick method to get. I always ask people when trying to identify their wireless hardware output publish it here. This is good for things like that.

    It does not show the USB hardware other than the USB bus.

    The following are three examples of the real world:

    Graphics:

    $ lspci -nnk | grep VGA -A1
    03:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF110 [GeForce GTX 580] [10de:1080] (rev a1) Kernel driver in use: nvidia 

    Audio:

    $lspci -v | grep -A7 -i "audio"
    00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP Audio Subsystem: Acer Incorporated [ALI] Device 080d Flags: bus master, fast devsel, latency 0, IRQ 34 Memory at f0940000 (64-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel -- 00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 02) Subsystem: Acer Incorporated [ALI] Device 080d Flags: bus master, slow devsel, latency 32, IRQ 35 Memory at f0944000 (64-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel 

    networking:

    $ lspci -nnk | grep net -A2
    00:0a.0 Ethernet controller [0200]: NVIDIA Corporation MCP79 Ethernet [10de:0ab0] (rev b1)
        Subsystem: Acer Incorporated [ALI] Device [1025:0222]
        Kernel driver in use: forcedeth
    --
    05:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) [168c:001c] (rev 01) Subsystem: AMBIT Microsystem Corp. AR5BXB63 802.11bg NIC [1468:0428] Kernel driver in use: ath5k 
  • lsusbAnd lspcisimilar, but it applies to the USB device. With similar functions similarly lengthy options. Well, if you want to know what is inserted.

  • sudo lshwWe will give you a very comprehensive hardware and settings.

    It gives you a lot of information, I suggest you go through lesspipes output, or output it to a file, and then open the thing in which you can move:

    sudo lshw | less
    

    Of course, this is usually a lot of information. You usually only need a small portion of the information about the hardware, but lshwwill allow you to select a category. For example, if you want to see your network equipment, run the following command:

    sudo lshw -c network
    
  • If you want a graphical stuff, I suggest you look hardinfo. You need to install it:

    sudo apt-get install hardinfo
    

    Then, you can simply use the hardinforun it the same terminal. I do not know that it has a default menu location.

    But compared with other options, it can provide more information (guide, available cores, etc.), and provides similar PCI and USB hardware list first two commands for you for you.

    It also provides some simple benchmarks. I think the goal of developers is to make it (a popular Windows hardware information-gathering tool) alternatives Sandra.

    It can even select the output can be sent to someone a good report (though it may be easy to get too much information).

hardware,ubuntu

 

Second best Solutions

You can use the CLI tool lshw:

sudo lshw

As the man page:

lshw is a small tool to extract detailed information on the hardware configuration of the machine. It can report exact memory configuration, firmware version, mainboard configuration, CPU version and speed, cache configuration, bus speed, etc. on DMI-capable x86 or IA-64 systems and on some PowerPC machines (PowerMac G4 is known to work).

You can also use HardInfo :

HardInfo can gather information about your system’s hardware and operating system, perform benchmarks, and generate printable reports either in HTML or in plain text formats.

It can also be easily extended, for developer documentation and full source code (released under GNU GPL version 2) is available.

hardware,ubuntu

运行以下命令来安装它:

sudo apt-get install hardinfo

或者在Synaptic或软件中心寻找hardinfo。

 

第三种解决思路

有几种收集硬件信息的方法。我会发布我所知道的所有可能性。有关任何程序的更多信息,请参阅他们的手册页。


选项一 – lshw

lshw应该默认安装。你必须以超级用户的身份运行它(sudo)。

它将提供几乎每个组件的非常详细的列表。要获得较短的列表表示,您可以使用-short标志。

您可以通过多种方式输出信息。


选项二 – hwinfo(需要安装)

hwinfo你必须安装。它在存储库中。

它也以非常详细的方式呈现组件。这里--short标志会给你一个很好的硬件分类列表。

使用--[hwtype]选项,您可以只获取有关所选硬件类型的详细信息,这有时非常方便。


我不知道任何one-in-all解决方案来解除/启用硬件或驱动程序。驱动程序通常是内核模块,您可以使用modprobe命令启用(添加)和禁用(删除)。

使用lsmod你可以找出哪些模块当前被加载。

 

第四种思路

lshw是一个非常好的命令,可以告诉你一个非常详细的硬件信息。如果你不想安装像hardinfo这样的其他东西,那么它将是非常好的命令。但是使用lshw(你可以说列表硬件来记住这个命令)用-html或-xml选项来以更交互的方式获取信息。

这里说明

    $ sudo lshw | less (or more)
    $ sudo lshw -html > myhardware.html
    $ sudo lshw -xml > myhardware.xml

现在只需打开当前目录中创建的.html或.xml文件即可获得硬件的完整描述。

 

第五种思路

lshw是命令,你也可以grep,例如lshw | grep audio

我不知道如何在GUI中查看它。

 

第六种思路

lspci – PCI硬件

lsusb, lspcmcia, lshw, lshw-gtk

dmidecode - information about the system hardware, such as the system BIOS

kinfocenter

cat /proc/cpuinfo

 

Seventh ideas

HardwareLiSter is a useful tool, detailed information about all the hardware can show you in a nice GUI interface.

If you prefer using the Terminal, try sudo dmidecode, it can provide a detailed list of all the hardware for you.

 

Eighth ideas

From the pier:

sudo lshw

From the gui you need to install the gnome-device-manager

 

Ninth ideas

Other tools are excellent Ubuntu

i-nex

 

hardware,ubuntu

I-Nex is a free system information tool for information gathering major system components CPU, motherboard, memory, video memory, sound, USB device, etc. (equipment). The application allows to display information about system hardware, the utility displays a large amount of detailed information system through clear tabbed interface. I-Nex utilities continue to add new features, including the I-Nex GPU tab and various other fixes. In addition to hardware capable of displaying information other than, I-Nex can also generate advanced reports, you can select the content you want to include and may choose to send the report to such (and other) services Pastebin. It also provides the option of intercepting I-Nex window directly from the application. The difference between the I-Nex Linux and other hardware information available information GUI tools that better organized and displayed faster (e.g., faster than lshw-gtk). In addition, hardware information is presented in a manner other than these tools easier to understand.

cpu-g

CPU-G can be used to display the hardware information. It detects all hardware and display information, display information about the CPU (processor), RAM (active / non-active, free, and use of cache), and the motherboard chipset, BIOS information, detailed information and card details Linux installed.

hardware,ubuntu

SOURCE http://www.noobslab.com/2014/01/cpuz-alternatives-inex-cpug-for-ubuntu.html

 

Tenth ideas

Device Manager Ubuntu Software Center.

Guess you like

Origin www.cnblogs.com/xuanbjut/p/11028813.html