Posted: . At: 2:51 PM. This was 9 years ago. Post ID: 7881
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.


List hardware on your Linux system with some simple commands.


The lsdvb command will list all installed DVB hardware in your Linux system. Here it is showing my Realtek DVB stick. You need to use sudo to enable this command to gather more information.

jason-H55-USB3 [lsdvb] ~/Documents
jason-H55-USB3% sudo lsdvb
 
                lsdvb: Simple utility to list PCI/PCIe DVB devices
                Version: 0.0.4
                Copyright (C) Manu Abraham
 
usb (0:0 1:0) on PCI Domain:-651651192 Bus:32761 Device:-653855112 Function:32761
        DEVICE:0 ADAPTER:0 FRONTEND:0 (Realtek RTL2832 (DVB-T))
                 FE_OFDM Fmin=174MHz Fmax=862MHz

To list all installed CPU`s in your system, use the lscpu command.

jason-H55-USB3 [sudo lsdvb] ~/Documents
jason-H55-USB3% lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    2
Core(s) per socket:    2
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 37
Stepping:              2
CPU MHz:               1197.000
BogoMIPS:              5866.55
Virtualisation:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              4096K
NUMA node0 CPU(s):     0-3

To list all hard disks in your computer, use the lsblk command.

jason-H55-USB3 [lscpu] ~/Documents
jason-H55-USB3% lsblk
NAME   MAJ:MIN RM    SIZE RO TYPE MOUNTPOINT
sda      8:0    0  465.8G  0 disk
├─sda1   8:1    0  212.3G  0 part
├─sda2   8:2    0   32.2G  0 part
└─sda3   8:3    0  218.6G  0 part /
sdb      8:16   0  465.8G  0 disk
├─sdb1   8:17   0    430M  0 part
├─sdb2   8:18   0   11.7G  0 part [SWAP]
├─sdb3   8:19   0  451.2G  0 part
├─sdb4   8:20   0      1K  0 part
└─sdb5   8:21   0    2.5G  0 part [SWAP]
sdd      8:48   1  488.8M  0 disk
└─sdd1   8:49   1  486.3M  0 part /media/jason/512_MB_1
sdg      8:96   0    1.8T  0 disk
├─sdg1   8:97   0 1002.3G  0 part /home
├─sdg2   8:98   0  683.4G  0 part
└─sdg3   8:99   0  177.3G  0 part
sdh      8:112  0    1.8T  0 disk
└─sdh1   8:113  0    1.8T  0 part
sdi      8:128  0    1.8T  0 disk
└─sdi1   8:129  0    1.8T  0 part
sr0     11:0    1   1024M  0 rom

To output a comprehensive listing of all installed hardware on your Linux system, type sudo lshw > hardware.txt. This is good when submitting information to a forum to troubleshoot a problem.

The dmidecode command will also return information about the installed hardware in your Linux system. Find more information about this command here: http://www.securitronlinux.com/bejiitaswrath/how-to-get-the-cpu-speed-from-the-hardware-in-linux-with-the-dmidecode-command/. How to get the CPU speed from the hardware in Linux with the dmidecode command.


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.