Monday, 7 July 2014

Looking To Check Linux Hardware Info? Use These 10 Commands...

Lately, we have embarked on a journey to make you aware and familiarize with the different Linux commands out there. There are simply so many of them that it's real tough to bring them all together, therefore we decided to break them up and categories them into the various uses they are meant for. Today it's the turn of Linux system hardware info...

1.lscpu
Reports info about the cpu and processing units.

2.lshw
Reports detailed/brief info about multiple hardware units like cpu, memory, disk, network adapters etc.

3.lspci
Lists out all the pci buses and details about the devices connected to them.

4.lsscsi
Lists out the scsi/sata devices (hard drives/optical drives).

5.Inxi
10K line mega bash script that generates a GOOD looking report based on hardware details from multiple sources and commands.

6.lsblk
Lists block devices.

7.df
Reports various partitions, mount points and the used/available space on each of them.

8.mount
Mount/unmount and view mounted file systems.

9.free
Checks the amount of used, free and total RAM.

10.hdparm
Reports info about sata devices (hard disks. etc)

Resource: EFYTimes