Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux system commands to view hardware information     - Ubuntu amend resolv.conf restart failure problem (Linux)

- OpenGL ES 3.0 vertex buffer (Programming)

- RHEL 7.1 compile and install Ganglia 3.7.1 (Server)

- After Oracle 11g dataguard failover rebuild the archive logs are not applied to be NO problem (Database)

- vector C ++ sequence containers (Programming)

- Intruder tools Knark Analysis and Prevention Linux environment (Linux)

- Linux Security Raiders SSH tools SCP uses examples to explain in detail (Linux)

- Linux at command (Linux)

- Linux modify the system time (Linux)

- Python implementation Bursa transition model (Programming)

- Android development environment to build under Fedora 13 (Linux)

- ORA-00600 error solve one case (Database)

- C ++ Fundamentals study notes (Programming)

- CentOS / Linux SWAP partitions added (Linux)

- Examples of RAID levels and achieve Operational Details (Linux)

- CentOS / Debian configuration Gitlab 7.1x to build self Git repository (Linux)

- How to Install Android Studio on Ubuntu 15.04 / CentOS7 (Linux)

- Linux regex sed detailing (Linux)

- Whisker Menu 1.4.3 Install menu Linux (Linux)

- Memcached installation, configuration and monitoring (Server)

 
         
  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

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

lscpu

hdd_info_lscpu

lspci

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.

lspci

hdd_info_lspci

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.

hdd_info_lspci_vga

lshw

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.

hdd_info_lshw

lsscsi

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

lsscsi
It will be similar to the following output.

hdd_info_lsscsi

lsusb

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.

lsusb
You can see the following output.

hdd_info_lsusb

Inxi

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.

hdd_info_inxi

df

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.

df-H
You will get the following output.

hdd_info_df

Free

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.

hdd_info_free

Dmidecode

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

hdd_info_dmi_processor

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

sudo dmidecode -t memory

hdd_info_dmi_memory

To view bios information, run the following command:

sudo dmidecode -t bios
     
         
         
         
  More:      
 
- ogg start being given libnnz11.so: can not open shared object file (Database)
- RHEL6.4 x86_64 build SVN service (Server)
- LVS + Keepalived the DR mode (Server)
- Installation of Gitlab under Ubuntu (Linux)
- Use $ BASH ENV variable to mention the right way under Linux (Linux)
- Source Analysis: Java object memory allocation (Programming)
- tar command to extract a file error: stdin has more than one entry (Linux)
- CentOS7 installation GAMIT and GMT (Linux)
- Linux / BSD firewall M0n0wall Profile (Linux)
- hadoop 2.7.1 High Availability Setup Deployment (Server)
- Linux system performance monitoring with Nmon (Linux)
- CentOS NAT iptables (Linux)
- Ubuntu 14.04 compile RT288x_SDK / toolchain / squashfs3.2-r2 Error (Linux)
- ARM runtime environment built from scratch using QEMU emulator (Linux)
- SSH without password (Linux)
- Installation and Configuration Tomcat environment CentOS 6.6 (Server)
- Linux `dirname $ 0` (Linux)
- How to make a U disk to install Ubuntu (Linux)
- 10046 trace only open for a particular SQL statement (Database)
- Using Java to build micro-services (Server)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.