Information about device linux

How can I find my hardware details?

Is there any built-in software or terminal method allowing me to view the hardware profiles on my system? Windows equivalent of such a feature would be Device Manager.

19 Answers 19

    lspci will show you most of your hardware in a nice quick way. It has varying levels of verbosity so you can get more information out of it with -v and -vv flags if you want it. The -k argument is a good way to find out which kernel driver a piece of hardware is using. -nn will let you simply know the hardware ID which is great for searching. But it is only a very simple, quick way of getting a list of hardware. I often ask people to post the output of it here when trying to identify their wireless hardware. It’s great for things like that. It doesn’t show USB hardware other than the USB busses. Here are three real world examples:

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: 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: 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 

Of course this is usually a lot of information. You often only need info on a small subset of your hardware and lshw will let you select a category. If you just wanted to see your network devices, for example, run this:

sudo apt-get install hardinfo 

Источник

Читайте также:  Xerox linux scanner driver

How to View Hardware Information in Linux

Being a Linux enthusiast implies that you are familiar with both the hardware and software entities of your system. Since it is the hardware that hosts the Linux operating system software, understanding the underlying hardware specs will help you achieve several objectives:

  • You will know the Main Memory (RAM) allocation on your system and how much is usable. This information is important especially when you want to upgrade/change your Linux OS.
  • You can quickly take note of available storage space and storage capacity on your Linux system in case you need to store more data, especially on a Linux server environment.
  • You will be able to determine the performance status of critical hardware components that define your computer/machine.

The Linux operating system has a reputation of making life easier for users that want to achieve critical OS objectives like viewing the hardware information of their machine. Moreover, you do not need to install any third-party application package/software.

The commands associated with the display of your Linux hardware information cover CPU info, Memory info, and other hardware peripherals and devices info.

This article guide is going to highlight some of these commands and their usage.

1. Lscpu Command – Show Linux CPU Information

If you are interested in the CPU and Processing Unit hardware information of your machine/computer, consider the reputation of this Linux command. Its usage is straightforward as demonstrated below:

View Linux CPU Information

2. Lshw Command – Show Linux Hardware Information

The output of the lshw command is not limited to CPU and Processing Unit hardware information. It also reveals essential hardware information related to hardware units like Network Adapters, Memory, USB Controllers, and Disk.

Читайте также:  Характеристика программного обеспечения linux

Running the lshw command as a super-user (Sudoer user) produces a more accurate output.

The lshw command’s output reveals your computer’s general info like vendor, product, and serial; the computer’s core, CPU, memory, network, and USB info.

View Linux Hardware Information

3. Lspci Command – Show Linux PCI Information

The lspci command has a dedicated functionality in detailing and briefing a machine’s PCI Buses hardware info together with the details of other connected hardware components.

Run lspci if you also need hardware info related to SATA Controllers, Network Adapters, USB Ports, Graphics Card, and VGA Adapter.

View Linux PCI Information

4. Lsusb Command – Show Linux USB Devices Information

The lsusb command suites a Linux user interested in hardware information associated with their machine’s USB controllers. It also reveals detailed information on hardware devices linked to the USB controllers.

View Linux USB Controllers Information

A more detailed output can be achieved by using the «-v» option alongside lsusb command.

5. Lsblk Command – Show Linux Block Devices Information

If you need hardware information on connected block devices like flash drives, optical drives, and internal hard drive partitions, you will appreciate what the lsblk command has to offer.

View Linux Block Device Information

6. Df Command – Show Linux Disk Usage Information

The df command details the filesystem partitions hardware info like available space, used space, and mount points.

View Linux Disk Space Information

7. Free Command – Show Linux Memory Information

The free command reveals important hardware info about the machine’s Swap and Main Memory.

View Linux Memory Information

8. Mount Command – Show Linux Mounted File System Information

The mount command reveals mounted file systems in Linux.

View Linux Mounted Filesystem Information

9. Fdisk Command – Show Linux Partitions Information

The fdisk command is prominent for detailing active hardware partition information of your Linux system. You however need to run the fdisk command as a Sudoer/root user.

Читайте также:  Linux parted resize ntfs

View Linux Partition Information

The hardware commands discussed in this article should be able to get you any hardware information regarding your Linux-powered computer/machine.

Источник

Оцените статью
Adblock
detector