Sunday, June 27, 2010

TO VIEW THE DETAILED HARDWARE CONFIGURATION OF LINUX MACHINE

lshw - (Hardware Lister) is a small tool to provide detailed information on the hardware configuration of the machine. It can report exact memory configuration, firmware version, mainboard configuration, CPU version and speed, cache configuration, bus speed, etc. on DMI-capable x86 or EFI (IA-64) systems and on some PowerPC machines

While running this command it says something like -bash: lshw: command not found ".. means the command is not installed.

[root@computer ~]# lshw
-bash: lshw: command not found

So we need to install that command before running command:

[root@computer ~]# yum -y install lshw*

[If yum is run with the -y option, yum will assume a ``yes'' answer to all interactive questions. This is typically used in a script or to process ``known safe'' installs or updates.]