linux hardware info command code example
Example 1: linux command to show memory hardware
lshw -short -C memory
Example 2: linux command to show memory hardware
$ 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: 1
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 23
Stepping: 10
CPU MHz: 1998.000
BogoMIPS: 5302.48
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 2048K
NUMA node0 CPU(s): 0-3
Example 3: command to list hardware in linux
Printing Machine Hardware Name (uname –m uname –a) ...
lscpu. ...
hwinfo- Hardware Information. ...
lspci- List PCI. ...
lsscsi-List sci devices. ...
lsusb- List usb buses and device details. ...
lsblk- List block devices. ...
df-disk space of file systems.