1.) /etc/sysconfig/hwconf
The file "/etc/sysconfig/hwconf" has the complete database of the hardware components attached to the server & /etc/sysconfig/hwconf file will get updated by kudzu service as it detects the current hardware when it gets started.
2.) dmidecode
"dmidecode" command will also give hardware details, this commands fetches the details from BIOS (i.e) it is stored, in which you can get the details of the server manufacturer, Serial number & etc. Also you can get few more hardware details like processor information, number of memory slots, cache information & etc.
Refer man page for more options used in the command, below are few examples
Eg:
[root@redhat ~]# dmidecode -s baseboard-manufacturer
Intel Corporation
[root@redhat ~]# dmidecode -s baseboard-product-name
440BX Desktop Reference Platform
[root@redhat ~]# dmidecode -s system-manufacturer
VMware, Inc.
[root@redhat ~]# dmidecode -s system-serial-number
VMware-56 4d b7 bf 13 66 65 14-7b d6 db f2 d7 a7 df 0b
[root@redhat ~]#

No comments:
Post a Comment