Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Linux system commands to view hardware information     - Nginx start, stop, smooth start, smooth upgrade (Server)

- Linux system installation Gitlab (Server)

- JavaScript closures and the scope chain (Programming)

- Redis master-slave replication switch (Database)

- Android Studio Personalization (Linux)

- Kali Linux resolve GPG error KEYEXPIRED 1425567400 (Linux)

- How to enable fbcon in Debian (Linux)

- Attic-- delete duplicate data backup program (Linux)

- How to view information about the installed version of CentOS (Linux)

- Linux file permissions and access modes (Linux)

- CentOS7 + Redis Live Installation and Configuration (Linux)

- Oracle11g CRS-0184 Problem Solving (Database)

- Servlet 3.0 interfaces of AsyncListener (Programming)

- Linux platform Oracle MySQL connection (Database)

- Implicit conversion from Java type conversion compare MySQL and Oracle (Database)

- Role Object of registerNatives () method (Programming)

- To add the Oracle JDBC driver in Maven repository (Linux)

- Ubuntu 14.04 VirtualBox can not start solution (Linux)

- Row-level security and application-level solutions for the new features of PostgreSQL9.5 (Database)

- RedHat command line and graphical interface switching (Linux)

  Linux system commands to view hardware information
  Add Date : 2018-11-21      
  There are many commands that can be used to view hardware information on Linux system. Some commands can only print out as CPU and memory this particular hardware component information, and some command to view a variety of hardware components.

This tutorial can bring you a quick look at all kinds of information and to view details of the hardware configuration of the device most commonly used commands.


lscpu command to view the information processing unit and CPU. This command does not have any other options or other features.




lspci is another command-line tool that can be used to list all the details of the PCI bus, and also connected to the PCI bus devices, such as VGA adapter, video card, network adapter, usb port, SATA controllers.



You can run the following command to filter out information for a particular device:

lspci -v | grep "VGA" -A 12
Run the above command you can see similar to the following information on the card.



lshw is a versatile tool that can list more detailed or summary information about the hardware unit, such as CPU, memory, usb controller, hard disk drives. lshw can extract the relevant information from various "/ proc" file.

lshw -short
You can see the following information by running the above command.



You can list information such as hard drives and optical drives, etc. scsi / sata device by running the following command:

It will be similar to the following output.



lsusb command can list details the USB controller and the USB devices connected to the controller. By default, lsusb command only print out the summary information. Each usb port details can be printed by using the -v parameter.

You can see the following output.



Inxi is a bash script, it is possible to obtain hardware information from multiple sources and command systems, and print out a non-technical person can understand friendly reports.

By default, no inxi installed on Ubuntu. Can be installed by running the following command Inxi:

sudoapt-get install inxi
After installing Inxi, by running the following command can be hardware-related information:

inxi -Fx
It can be similar to the following output.



df command can list the different partitions profiles, mount point, used and available space.

You can add the -H option when using the df command.

You will get the following output.



By using the free command to view, idle and overall the amount of RAM used in the system.

free -m
You see the following output.



dmidecode with other commands are different. The command is to read information from the hardware DMI table.

To view the processor information, run the following command:

sudo dmidecode -t processor


To view information about the memory, run the following command:

sudo dmidecode -t memory


To view bios information, run the following command:

sudo dmidecode -t bios
- Shell script to delete empty folders recursively (Linux)
- BGP routers want to play it by CentOS (Linux)
- CentOS 6.6 installation certification system based on the ftp service (Server)
- Python developer of time-saving method (Programming)
- C ++ Fundamentals study notes (Programming)
- Linux Firewall Basics (Linux)
- Linux Security Setup Guide (Linux)
- Open log in Hibernate (Programming)
- CentOS 6.5 installation VNCServer implement graphical access (Server)
- Build RPM package uses Docker mirror (Linux)
- Plasma 5.4 How to install on Kubuntu 15.04 (Linux)
- Linux Getting Started tutorial: XWindow what (Linux)
- Copy U disk files to the Linux system on a virtual machine (Linux)
- MySQL service failed to start thinking of settlement under CentOS7 (Database)
- CentOS7 management of systemd (Linux)
- The callback function used in C ++ (Programming)
- Linux operating system security settings initial understanding (Linux)
- 5 steps to help you become a good Docker contributors (Linux)
- Build your own Python coding environment (Linux)
- Graphical development environment to build Android under Ubuntu 11.04 (Linux)
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.