Linux Command To Find the System Configuration And Hardware Information
On Linux based system most of the hardware information can be extracted from /proc file system, for example display CPU and Memory information, enter:
cat /proc/meminfo
cat /proc/cpuinfo
Linux cpu/hardware information
Use any one of the following command:
# less /proc/cpuinfo
OR
# lscpu
Linux show free and used memory in the system
Use any one of the following command:
# cat /proc/meminfo
OR
# free
# free -m
# free -mt
# free -gt
Linux find out the current running kernel version
Type the following command:
# cat /proc/version
OR use the following command:
# uname -mrs
# uname -a
Find out information about the Linux distribution and version
$ cat /etc/*release*
List all PCI devices
# lspci
List all USB devices
# lsusb
List all block devices (hard disks, cdrom, and others)
# lsblk
Display installed hard disk and size
# fdisk -l | grep '^Disk /dev/'
Dump all hardware information
Type the following command to see your motherboard, cpu, vendor, serial-numbers, RAM, disks, and other information directly from the system BIOS:
# dmidecode | less
No comments:
Post a Comment