close

how to retrieve serial number of HP Proliant server by command line

 

The OS of HP Porliant Server is RHEL 6

the first approach is via HP hpasmcli
 
 [root@XXX ~]# hpasmcli 
HP management CLI for Linux (v2.0)
Copyright 2008 Hewlett-Packard Development Group, L.P.
 
--------------------------------------------------------------------------
NOTE: Some hpasmcli commands may not be supported on all Proliant servers.
      Type 'help' to get a list of all top level commands.
--------------------------------------------------------------------------
hpasmcli> show server
System        : ProLiant DL580 G7
Serial No.    : Q907BP7XXX
ROM version   : P65 03/01/2011
iLo present   : Yes
Embedded NICs : 4
   NIC1 MAC: 1c:c1:de:75:f8:24
   NIC2 MAC: 1c:c1:de:75:f8:25
   NIC3 MAC: 1c:c1:de:75:f8:26
   NIC4 MAC: 1c:c1:de:75:f8:27
 
Processor: 0
   Name         : Intel Xeon
   Stepping     : 6
   Speed        : 1867 MHz
   Bus          : 133 MHz
   Core         : 4
   Thread       : 8
   Socket       : 1
   Level2 Cache : 1024 KBytes
   Level3 Cache : 18432 KBytes
   Status       : Ok
 
Processor: 1
   Name         : Intel Xeon
   Stepping     : 6
   Speed        : 1867 MHz
   Bus          : 133 MHz
   Core         : 4
   Thread       : 8
   Socket       : 2
   Level2 Cache : 1024 KBytes
   Level3 Cache : 18432 KBytes
   Status       : Ok
 
Processor total  : 2
 
Memory installed : 32768 MBytes
ECC supported    : Yes
 
 
the second approach is via dmidecode
 
[root@XXX ~]# dmidecode
 
System Information
   Manufacturer: HP
   Product Name: ProLiant DL580 G7
   Version: Not Specified
   Serial Number: Q907BP7XXX
   UUID: 32313XXX-3232-3951-3XXX-425037323XXX
   Wake-up Type: Power Switch
   SKU Number: 111222-XXX
   Family: ProLiant
arrow
arrow
    全站熱搜

    liaofamily 發表在 痞客邦 留言(0) 人氣()