LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-05-2012, 06:34 AM   #1
sluge
Member
 
Registered: Dec 2006
Location: Russia,52
Posts: 116

Rep: Reputation: 6
Question Determine HW server's vendor


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
 
Old 05-05-2012, 06:46 AM   #2
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
Hi,

look at this examples and here for dmidecode

Code:
$> lshw
servername
    description: Rack Mount Chassis
    product: ProLiant DL380 G4
    vendor: HP
    serial: Gxxxxxxxxxx
    width: 64 bits



$> dmidecode

# dmidecode 2.10
SMBIOS 2.3 present.
77 structures occupying 2033 bytes.
Table at 0x000EC000.

Handle 0x0000, DMI type 0, 20 bytes
BIOS Information
        Vendor: HP
        Version: P51
.....
good luck

Last edited by lithos; 05-05-2012 at 06:54 AM.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Server vendor / hardware question g_paschoal Linux - Server 1 06-30-2011 09:42 AM
How to get vendor-string or vendor-class from a dhcp client. dhonnoll78 Linux - Networking 1 09-09-2010 12:42 AM
LXer: Major Server Vendor Says No Thanks To Ubuntu Linux LXer Syndicated Linux News 0 04-11-2008 07:50 AM
Good custom server vendor? ahz10 Linux - Hardware 0 02-28-2007 05:03 PM
LXer: Linux Certification: Vendor-Specific or Vendor Neutral LXer Syndicated Linux News 0 01-19-2007 10:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration