Hardware Info

Display CPU information

Command :

$ cat /proc/cpuinfo

Display memory information

Command :

$ cat /proc/meminfo

Display version details

Command :

$ cat /proc/version

Display partitions details

Command :

$ cat /proc/partitions

Display SCSI/Sata devices details

Command :

$ cat /proc/scsi/scsi

Display information about Sata devices

Command :

$ hdparam /dev/sda1

List Hardware components

Command :

# lshw

Display hardware information

Command :

# hwinfo --short

List scsi devices

Command :

# lsscsi

List all PCI devices

Command :

$ lspci

List USB devices

Command :

$ lsusb

List block devices

Command :

$ lsblk

Display information about the CPU architecture

Command :

$ lscpu

Partition table manipulator for Linux

Command :

# fdisk -l

Locate the binary, source, and manual page files for a command

Command :

# whereis bin

# whereis etc

Show the full path of (shell) commands

Command:

# which cat

# which ls

Search the whatis database for complete words

Command :

# whatis ls

# whatis cat

Upstart process management daemon

Command:

# init 0 - halt (Do NOT set init default to this)

# init 1 - Single user mode

# init 2 - Multiuser, without NFS

# init 3 - Full multiuser mode

# init 6 - reboot

Extract hardware information by reading data from the DMI tables

Command:

# dmidecode -t memory

# dmidecode -t system

# dmidecode -t bios

# dmidecode -t processor

 

Advertisements