PDA

View Full Version : Determine HW server's vendor



sluge
5th May 2012, 11:34 AM
Hello!
I made a script that should be run only on HP servers, and I need to know, is current server is HP or not. Is any way to obtain this info?
PS:My linux is RHEL

Yellowman
5th May 2012, 12:03 PM
Try dmidecode


dmidecode -s system-manufacturer


or


dmidecode -s baseboard-manufacturer


or



dmidecode -s chassis-manufacturer